Module Java.util.Jar

Java classes from package java.util.jar

Imports

Table of Content

Definitions

data JarFile = native java.util.jar.JarFile

Member Functions

entriesMutableIO JarFileSTMutable RealWorld (Enumeration JarEntry)
native entries
getInputStreamMutableIO JarFileMutableIO ZipEntrySTMutable RealWorld InputStream
native getInputStream  throws IOException
getJarEntryMutableIO JarFileStringIO (Maybe (MutableIO JarEntry))
native getJarEntry

get the JarEntry for the specified name, or Maybe.Nothing if not found.

getManifestMutableIO JarFileIO (Maybe (MutableIO Manifest))
native getManifest  throws IOException

retrieve the Manifest, if there is one

newMutableIO FileSTMutable RealWorld JarFile
native new  throws IOException
data JarEntry = native java.util.jar.JarEntry

Member Functions

getNameMutableIO JarEntryIO String
native getName
isDirectoryMutableIO JarEntryIO Bool
native isDirectory
newMutableIO ZipEntrySTMutable RealWorld JarEntry
     | StringSTMutable RealWorld JarEntry
native new
newαMutableIO ZipEntrySTMutable RealWorld JarEntry
native new  overloads new
newβStringSTMutable RealWorld JarEntry
native new  overloads new
data Manifest = native java.util.jar.Manifest

The Manifest of a JarFile

see java doc

Member Functions

getMainAttributesMutable s ManifestSTMutable s Attributes
native getMainAttributes
data Attributes = native java.util.jar.Attributes

Attributes of a Manifest

see java doc

Member Functions

getValueMutable s AttributesStringST s (Maybe String)
          | Mutable s AttributesAttributesNameST s (Maybe String)
              throws IllegalArgumentException
native getValue
getValueαMutable s AttributesStringST s (Maybe String)
native getValue  overloads getValue
getValueβMutable s AttributesAttributesNameST s (Maybe String)
native getValue  throws IllegalArgumentException  overloads getValue
keySetMutable s AttributesSTMutable s (Set Object)
native keySet
data AttributesName = pure native java.util.jar.Attributes.Name

Predefined keys for Attributes maps.

Member Functions

class_pathAttributesName
pure native java.util.jar.Attributes.Name.CLASS_PATH

Name object for Class-Path manifest attribute.

Bundled extensions can use this attribute to find other JAR files containing needed classes.

main_classAttributesName
pure native java.util.jar.Attributes.Name.MAIN_CLASS

Name object for Main-Class manifest attribute used for launching applications packaged in JAR files.

toStringAttributesNameString
pure native toString

Returns the attribute name as a String.

Instances

instance Cloneable Manifest

Member Functions

cloneManifestManifest
pure native clone

inherited from Cloneable.clone

freezeManifestManifest

inherited from Cloneable.freeze

thawManifestManifest

inherited from Cloneable.thaw

instance Show AttributesName

Member Functions

displayAttributesNameString

inherited from Show.display

showAttributesNameString
showCharsAttributesName → [Char]

inherited from Show.showChars

showList[AttributesName]StringString

inherited from Show.showList

showsPrecIntAttributesNameStringString

inherited from Show.showsPrec

showsubAttributesNameString

inherited from Show.showsub

Functions and Values by Type

MutableIO FileSTMutable RealWorld JarFile

JarFile.new

MutableIO JarEntryIO String

JarEntry.getName

MutableIO JarEntryIO Bool

JarEntry.isDirectory

MutableIO JarFileMutableIO ZipEntrySTMutable RealWorld InputStream

JarFile.getInputStream

MutableIO JarFileStringIO (Maybe (MutableIO JarEntry))

JarFile.getJarEntry

MutableIO JarFileSTMutable RealWorld (Enumeration JarEntry)

JarFile.entries

MutableIO JarFileIO (Maybe (MutableIO Manifest))

JarFile.getManifest

MutableIO ZipEntrySTMutable RealWorld JarEntry

JarEntry.newα

StringSTMutable RealWorld JarEntry

JarEntry.newβ

[AttributesName] → StringString

Show_AttributesName.showList

AttributesNameString

Show_AttributesName.showsub, Show_AttributesName.display, Show_AttributesName.show, AttributesName.toString

AttributesName → [Char]

Show_AttributesName.showChars

ManifestManifest

Cloneable_Manifest.thaw, Cloneable_Manifest.clone, Cloneable_Manifest.freeze

IntAttributesNameStringString

Show_AttributesName.showsPrec

AttributesName

AttributesName.main_class, AttributesName.class_path

Mutable s AttributesStringST s (Maybe String)

Attributes.getValueα

Mutable s AttributesAttributesNameST s (Maybe String)

Attributes.getValueβ

Mutable s AttributesSTMutable s (Set Object)

Attributes.keySet

Mutable s ManifestSTMutable s Attributes

Manifest.getMainAttributes

ω

Attributes.getValue, JarEntry.new

Valid HTML 4.01 Strict