public class ExtendedAttribute
extends java.lang.Object
Constructor and Description |
---|
ExtendedAttribute()
The default constructor
|
ExtendedAttribute(java.lang.String name,
byte[] content)
Initializes a new instance of ExtendedAttribute
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
byte[] |
getContent()
Returns the content
|
java.lang.String |
getName()
Returns the name of the extended attribute
|
int |
hashCode() |
void |
setContent(byte[] content)
Sets the content
|
void |
setName(java.lang.String name)
Sets the name of the extended attribute
|
public ExtendedAttribute()
public ExtendedAttribute(java.lang.String name, byte[] content)
name
- the name of the extended attributecontent
- the content of the extended attributepublic java.lang.String getName()
public void setName(java.lang.String name)
name
- the namepublic byte[] getContent()
public void setContent(byte[] content)
content
- the contentpublic int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object