|
Project JXTA | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--net.jxta.endpoint.MessageElement
This abstract class defines the Message Element.
Message| Constructor Summary | |
MessageElement()
|
|
| Method Summary | |
abstract java.lang.Object |
clone()
make a clone of this element. |
abstract boolean |
equals(java.lang.Object target)
Compare this MessageElement against another. |
abstract byte[] |
getBytesOffset()
Returns the byte array which contains the element data. |
abstract int |
getLength()
Returns the number of bytes used in the array returned by getBytes(). |
abstract java.lang.String |
getName()
Returns the name of the MessageElement. |
abstract int |
getOffset()
Returns the offset into the array returned by getBytes() of where data use by this element starts. |
abstract java.io.InputStream |
getStream()
Returns a stream containing the element data. |
abstract MimeMediaType |
getType()
Returns the type of the MessageElement. |
static java.lang.String[] |
parseName(java.lang.String name)
Parse a name in to its two colon separated components. |
| Methods inherited from class java.lang.Object |
finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public MessageElement()
| Method Detail |
public abstract int getOffset()
public abstract int getLength()
public abstract byte[] getBytesOffset()
public abstract java.io.InputStream getStream()
public abstract java.lang.String getName()
public abstract MimeMediaType getType()
public abstract java.lang.Object clone()
clone in class java.lang.Objectpublic abstract boolean equals(java.lang.Object target)
equals in class java.lang.Objecttarget - The to compare against.public static java.lang.String[] parseName(java.lang.String name)
name - is the name to parse.
|
Project JXTA | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||