Class DeprecatedAttribute
java.lang.Object
org.apache.commons.compress.harmony.unpack200.bytecode.ClassFileEntry
org.apache.commons.compress.harmony.unpack200.bytecode.Attribute
org.apache.commons.compress.harmony.unpack200.bytecode.DeprecatedAttribute
Deprecated class file attribute.
-
Field Summary
Fields inherited from class org.apache.commons.compress.harmony.unpack200.bytecode.ClassFileEntry
NONE
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected int
Gets the length.static void
setAttributeName
(CPUTF8 cpUTF8Value) toString()
protected void
Writes this body to the given output stream.Methods inherited from class org.apache.commons.compress.harmony.unpack200.bytecode.Attribute
doWrite, equals, getAttributeName, getLengthIncludingHeader, getNestedClassFileEntries, hasBCIRenumbering, hashCode, isSourceFileAttribute, resolve
Methods inherited from class org.apache.commons.compress.harmony.unpack200.bytecode.ClassFileEntry
objectHashCode, write
-
Constructor Details
-
DeprecatedAttribute
public DeprecatedAttribute()Constructs a new instance.
-
-
Method Details
-
setAttributeName
-
getLength
Description copied from class:Attribute
Gets the length. -
toString
- Specified by:
toString
in classClassFileEntry
-
writeBody
Description copied from class:Attribute
Writes this body to the given output stream.- Specified by:
writeBody
in classAttribute
- Parameters:
dos
- the output stream.- Throws:
IOException
- if an I/O error occurs.
-