RingJavafor Ring

java.util.jar

8 classes of the module java.base.

Load them with:

using {
	"java.util.jar"
}

All packages

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

NameTypeAccessIn Ring
MANIFEST_VERSIONNameconstant · statico.MANIFEST_VERSION
SIGNATURE_VERSIONNameconstant · statico.SIGNATURE_VERSION
CONTENT_TYPENameconstant · statico.CONTENT_TYPE
CLASS_PATHNameconstant · statico.CLASS_PATH
MAIN_CLASSNameconstant · statico.MAIN_CLASS
SEALEDNameconstant · statico.SEALED
EXTENSION_LISTNameconstant · statico.EXTENSION_LIST
EXTENSION_NAMENameconstant · statico.EXTENSION_NAME
EXTENSION_INSTALLATIONNameconstant · statico.EXTENSION_INSTALLATION
IMPLEMENTATION_TITLENameconstant · statico.IMPLEMENTATION_TITLE
IMPLEMENTATION_VERSIONNameconstant · statico.IMPLEMENTATION_VERSION
IMPLEMENTATION_VENDORNameconstant · statico.IMPLEMENTATION_VENDOR
IMPLEMENTATION_VENDOR_IDNameconstant · statico.IMPLEMENTATION_VENDOR_ID
IMPLEMENTATION_URLNameconstant · statico.IMPLEMENTATION_URL
SPECIFICATION_TITLENameconstant · statico.SPECIFICATION_TITLE
SPECIFICATION_VERSIONNameconstant · statico.SPECIFICATION_VERSION
SPECIFICATION_VENDORNameconstant · statico.SPECIFICATION_VENDOR
MULTI_RELEASENameconstant · statico.MULTI_RELEASE

The methods and fields of Object are inherited.

JarAttributes#

class · extends Object · java.util.jar.Attributes

Implements: Map, Cloneable

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

MethodRing callJava 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)
clearclear()void clear()
cloneclone()Object clone()
computecompute(key,remappingFunction)Object compute(Object key, BiFunction remappingFunction)
computeIfAbsentcomputeIfAbsent(key,mappingFunction)Object computeIfAbsent(Object key, Function mappingFunction)
computeIfPresentcomputeIfPresent(key,remappingFunction)Object computeIfPresent(Object key, BiFunction remappingFunction)
containsKeycontainsKey(name)boolean containsKey(Object name)
containsValuecontainsValue(value)boolean containsValue(Object value)
entrySetentrySet()Set entrySet()
getOrDefaultgetOrDefault(key,defaultValue)Object getOrDefault(Object key, Object defaultValue)
getValuegetValue(name)String getValue(String name)
String getValue(Name name)
isEmptyisEmpty()boolean isEmpty()
keySetkeySet()Set keySet()
mergemerge(key,value,remappingFunction)Object merge(Object key, Object value, BiFunction remappingFunction)
putAllputAll(attr)void putAll(Map attr)
putIfAbsentputIfAbsent(key,value)Object putIfAbsent(Object key, Object value)
putValueputValue(name,value)String putValue(String name, String value)
removeremove(name)
remove([key,value])
remove([ :key = v, :value = v ])
Object remove(Object name)
boolean remove(Object key, Object value)
replacereplace([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)
replaceAllreplaceAll(function)void replaceAll(BiFunction function)
sizesize()int size()
valuesvalues()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

MethodRing callJava overloads
getAttributesgetAttributes()Attributes getAttributes()
getCertificatesgetCertificates()Certificate[] getCertificates()
getCodeSignersgetCodeSigners()CodeSigner[] getCodeSigners()
getRealNamegetRealName()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

NameTypeAccessIn Ring
MANIFEST_NAMEStringconstant · statico.MANIFEST_NAME

Methods

MethodRing callJava overloads
baseVersionbaseVersion()static Version baseVersion()
getJarEntrygetJarEntry(name)JarEntry getJarEntry(String name)
getManifestgetManifest()Manifest getManifest()
getVersiongetVersion()Version getVersion()
isMultiReleaseisMultiRelease()boolean isMultiRelease()
runtimeVersionruntimeVersion()static Version runtimeVersion()
versionedStreamversionedStream()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

MethodRing callJava overloads
getManifestgetManifest()Manifest getManifest()
getNextJarEntrygetNextJarEntry()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

MethodRing callJava overloads
clearclear()void clear()
cloneclone()Object clone()
getAttributesgetAttributes(name)Attributes getAttributes(String name)
getEntriesgetEntries()Map getEntries()
getMainAttributesgetMainAttributes()Attributes getMainAttributes()
readread(is)void read(InputStream is)
writewrite(out)void write(OutputStream out)

The methods and fields of Object are inherited.

RingJava - use Java classes and methods from Ring programs.