Java java.util.jar Attributes fields, constructors, methods, implement or subclass

Example usage for Java java.util.jar Attributes fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for java.util.jar Attributes.

The text is from its open source code.

Constructor

Attributes()
Constructs a new, empty Attributes object with default size.
Attributes(int size)
Constructs a new, empty Attributes object with the specified initial size.
Attributes(Attributes attr)
Constructs a new Attributes object with the same attribute name-value mappings as in the specified Attributes.

Method

booleancontainsKey(Object name)
Returns true if this Map contains the specified attribute name (key).
Set>entrySet()
Returns a Collection view of the attribute name-value mappings contained in this Map.
Objectget(Object name)
Returns the value of the specified attribute name, or null if the attribute name was not found.
StringgetValue(String name)
Returns the value of the specified attribute name, specified as a string, or null if the attribute was not found.
StringgetValue(Name name)
Returns the value of the specified Attributes.Name, or null if the attribute was not found.
booleanisEmpty()
Returns true if this Map contains no attributes.
SetkeySet()
Returns a Set view of the attribute names (keys) contained in this Map.
Objectput(Object name, Object value)
Associates the specified value with the specified attribute name (key) in this Map.
StringputValue(String name, String value)
Associates the specified value with the specified attribute name, specified as a String.
Objectremove(Object name)
Removes the attribute with the specified name (key) from this Map.
intsize()
Returns the number of attributes in this Map.