Class LongStringHelper.ByteArrayLongString
- java.lang.Object
-
- org.ow2.joram.mom.amqp.marshalling.LongStringHelper.ByteArrayLongString
-
- All Implemented Interfaces:
Serializable,LongString
- Enclosing class:
- LongStringHelper
public static class LongStringHelper.ByteArrayLongString extends Object implements LongString
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description (package private) byte[]bytesprivate static longserialVersionUIDdefine serialVersionUID for interoperability-
Fields inherited from interface org.ow2.joram.mom.amqp.marshalling.LongString
MAX_LENGTH
-
-
Constructor Summary
Constructors Constructor Description ByteArrayLongString(byte[] bytes)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)byte[]getBytes()InputStreamgetStream()inthashCode()longlength()StringtoString()
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
define serialVersionUID for interoperability- See Also:
- Constant Field Values
-
bytes
byte[] bytes
-
-
Method Detail
-
getBytes
public byte[] getBytes()
- Specified by:
getBytesin interfaceLongString
-
getStream
public InputStream getStream() throws IOException
- Specified by:
getStreamin interfaceLongString- Throws:
IOException
-
length
public long length()
- Specified by:
lengthin interfaceLongString
-
-