java.util.jar
8 classes of the module java.base.
Load them with:
using {
"java.util.jar"
}
AttributesName#
class · extends Object · java.util.jar.Attributes$Name
Constructors
new AttributesName(String name) |
Ring: new AttributesName(args) uses the constructor with the fewest parameters (at least one); new AttributesName makes the object with the constructor without parameters; the others: (new AttributesName).@New([ :param = value ]) or .@New([v1,v2]).
Fields
| Name | Type | Access | In Ring |
|---|---|---|---|
MANIFEST_VERSION | Name | constant · static | o.MANIFEST_VERSION |
SIGNATURE_VERSION | Name | constant · static | o.SIGNATURE_VERSION |
CONTENT_TYPE | Name | constant · static | o.CONTENT_TYPE |
CLASS_PATH | Name | constant · static | o.CLASS_PATH |
MAIN_CLASS | Name | constant · static | o.MAIN_CLASS |
SEALED | Name | constant · static | o.SEALED |
EXTENSION_LIST | Name | constant · static | o.EXTENSION_LIST |
EXTENSION_NAME | Name | constant · static | o.EXTENSION_NAME |
EXTENSION_INSTALLATION | Name | constant · static | o.EXTENSION_INSTALLATION |
IMPLEMENTATION_TITLE | Name | constant · static | o.IMPLEMENTATION_TITLE |
IMPLEMENTATION_VERSION | Name | constant · static | o.IMPLEMENTATION_VERSION |
IMPLEMENTATION_VENDOR | Name | constant · static | o.IMPLEMENTATION_VENDOR |
IMPLEMENTATION_VENDOR_ID | Name | constant · static | o.IMPLEMENTATION_VENDOR_ID |
IMPLEMENTATION_URL | Name | constant · static | o.IMPLEMENTATION_URL |
SPECIFICATION_TITLE | Name | constant · static | o.SPECIFICATION_TITLE |
SPECIFICATION_VERSION | Name | constant · static | o.SPECIFICATION_VERSION |
SPECIFICATION_VENDOR | Name | constant · static | o.SPECIFICATION_VENDOR |
MULTI_RELEASE | Name | constant · static | o.MULTI_RELEASE |
The methods and fields of Object are inherited.
JarAttributes#
class · extends Object · java.util.jar.Attributes
Constructors
new JarAttributes() |
new JarAttributes(Attributes attr) |
new JarAttributes(int size) |
Ring: new JarAttributes(args) uses the constructor with the fewest parameters (at least one); new JarAttributes makes the object with the constructor without parameters; the others: (new JarAttributes).@New([ :param = value ]) or .@New([v1,v2]).
Methods
| Method | Ring call | Java overloads |
|---|---|---|
@forEach | @forEach(action) | void forEach(BiConsumer action) |
@get | @get(name) | Object get(Object name) |
@put | @put(name,value) | Object put(Object name, Object value) |
clear | clear() | void clear() |
clone | clone() | Object clone() |
compute | compute(key,remappingFunction) | Object compute(Object key, BiFunction remappingFunction) |
computeIfAbsent | computeIfAbsent(key,mappingFunction) | Object computeIfAbsent(Object key, Function mappingFunction) |
computeIfPresent | computeIfPresent(key,remappingFunction) | Object computeIfPresent(Object key, BiFunction remappingFunction) |
containsKey | containsKey(name) | boolean containsKey(Object name) |
containsValue | containsValue(value) | boolean containsValue(Object value) |
entrySet | entrySet() | Set entrySet() |
getOrDefault | getOrDefault(key,defaultValue) | Object getOrDefault(Object key, Object defaultValue) |
getValue | getValue(name) | String getValue(String name)String getValue(Name name) |
isEmpty | isEmpty() | boolean isEmpty() |
keySet | keySet() | Set keySet() |
merge | merge(key,value,remappingFunction) | Object merge(Object key, Object value, BiFunction remappingFunction) |
putAll | putAll(attr) | void putAll(Map attr) |
putIfAbsent | putIfAbsent(key,value) | Object putIfAbsent(Object key, Object value) |
putValue | putValue(name,value) | String putValue(String name, String value) |
remove | remove(name)remove([key,value])remove([ :key = v, :value = v ]) | Object remove(Object name)boolean remove(Object key, Object value) |
replace | replace([key,value])replace([ :key = v, :value = v ])replace([key,oldValue,newValue])replace([ :key = v, :oldValue = v, :newValue = v ]) | Object replace(Object key, Object value)boolean replace(Object key, Object oldValue, Object newValue) |
replaceAll | replaceAll(function) | void replaceAll(BiFunction function) |
size | size() | int size() |
values | values() | Collection values() |
The methods and fields of Object are inherited.
JarEntry#
class · extends ZipEntry · java.util.jar.JarEntry
Constructors
new JarEntry(JarEntry je) |
new JarEntry(ZipEntry ze) |
new JarEntry(String name) |
Ring: new JarEntry(args) uses the constructor with the fewest parameters (at least one); new JarEntry makes the object with the constructor without parameters; the others: (new JarEntry).@New([ :param = value ]) or .@New([v1,v2]).
Methods
| Method | Ring call | Java overloads |
|---|---|---|
getAttributes | getAttributes() | Attributes getAttributes() |
getCertificates | getCertificates() | Certificate[] getCertificates() |
getCodeSigners | getCodeSigners() | CodeSigner[] getCodeSigners() |
getRealName | getRealName() | String getRealName() |
The methods and fields of ZipEntry are inherited.
JarException#
class · extends ZipException · java.util.jar.JarException
Constructors
new JarException() |
new JarException(String s) |
Ring: new JarException(args) uses the constructor with the fewest parameters (at least one); new JarException makes the object with the constructor without parameters; the others: (new JarException).@New([ :param = value ]) or .@New([v1,v2]).
The methods and fields of ZipException are inherited.
JarFile#
class · extends ZipFile · java.util.jar.JarFile
Constructors
new JarFile(File file) |
new JarFile(String name) |
new JarFile(String name, boolean verify) |
new JarFile(File file, boolean verify) |
new JarFile(File file, boolean verify, int mode) |
new JarFile(File file, boolean verify, int mode, Version version) |
Ring: new JarFile(args) uses the constructor with the fewest parameters (at least one); new JarFile makes the object with the constructor without parameters; the others: (new JarFile).@New([ :param = value ]) or .@New([v1,v2]).
Fields
| Name | Type | Access | In Ring |
|---|---|---|---|
MANIFEST_NAME | String | constant · static | o.MANIFEST_NAME |
Methods
| Method | Ring call | Java overloads |
|---|---|---|
baseVersion | baseVersion() | static Version baseVersion() |
getJarEntry | getJarEntry(name) | JarEntry getJarEntry(String name) |
getManifest | getManifest() | Manifest getManifest() |
getVersion | getVersion() | Version getVersion() |
isMultiRelease | isMultiRelease() | boolean isMultiRelease() |
runtimeVersion | runtimeVersion() | static Version runtimeVersion() |
versionedStream | versionedStream() | Stream versionedStream() |
The methods and fields of ZipFile are inherited.
JarInputStream#
class · extends ZipInputStream · java.util.jar.JarInputStream
Constructors
new JarInputStream(InputStream in) |
new JarInputStream(InputStream in, boolean verify) |
Ring: new JarInputStream(args) uses the constructor with the fewest parameters (at least one); new JarInputStream makes the object with the constructor without parameters; the others: (new JarInputStream).@New([ :param = value ]) or .@New([v1,v2]).
Methods
| Method | Ring call | Java overloads |
|---|---|---|
getManifest | getManifest() | Manifest getManifest() |
getNextJarEntry | getNextJarEntry() | JarEntry getNextJarEntry() |
The methods and fields of ZipInputStream are inherited.
JarOutputStream#
class · extends ZipOutputStream · java.util.jar.JarOutputStream
Constructors
new JarOutputStream(OutputStream out) |
new JarOutputStream(OutputStream out, Manifest man) |
Ring: new JarOutputStream(args) uses the constructor with the fewest parameters (at least one); new JarOutputStream makes the object with the constructor without parameters; the others: (new JarOutputStream).@New([ :param = value ]) or .@New([v1,v2]).
The methods and fields of ZipOutputStream are inherited.
Manifest#
class · extends Object · java.util.jar.Manifest
Implements: Cloneable
Constructors
new Manifest() |
new Manifest(Manifest man) |
new Manifest(InputStream is) |
Ring: new Manifest(args) uses the constructor with the fewest parameters (at least one); new Manifest makes the object with the constructor without parameters; the others: (new Manifest).@New([ :param = value ]) or .@New([v1,v2]).
Methods
| Method | Ring call | Java overloads |
|---|---|---|
clear | clear() | void clear() |
clone | clone() | Object clone() |
getAttributes | getAttributes(name) | Attributes getAttributes(String name) |
getEntries | getEntries() | Map getEntries() |
getMainAttributes | getMainAttributes() | Attributes getMainAttributes() |
read | read(is) | void read(InputStream is) |
write | write(out) | void write(OutputStream out) |
The methods and fields of Object are inherited.