|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.xbus.base.bytearraylist.ByteArrayList
public class ByteArrayList
Manages a list of byte arrays.
Constructor Summary | |
---|---|
ByteArrayList()
|
Method Summary | |
---|---|
void |
add(byte[] byteArray)
Appends the specified byte array to the end of this list. |
void |
addAll(ByteArrayList list)
|
static ByteArrayList |
createByteArrayList(byte[] byteBuffer,
int lineLength)
|
byte[] |
get(int index)
|
java.lang.String |
getContentAsString(java.lang.String system)
getContentAsString returns the content of the
ByteArrayList as string. |
java.util.Iterator |
iterator()
Returns an iterator over the elements in this list in proper sequence. |
int |
length()
Method length. |
byte[] |
toByteArray()
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ByteArrayList()
Method Detail |
---|
public java.lang.String getContentAsString(java.lang.String system) throws XException
getContentAsString
returns the content of the
ByteArrayList
as string. Each single byte array builds up
one line in the string.
system
- used to determine the ByteArrayConverter and linebreaks
XException
- in case that the conversion cannot be performedpublic java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public void add(byte[] byteArray)
byteArray
- byte array to be appended to this listpublic java.util.Iterator iterator()
public int length()
public byte[] get(int index)
public void addAll(ByteArrayList list)
public byte[] toByteArray()
public static ByteArrayList createByteArrayList(byte[] byteBuffer, int lineLength) throws XException
XException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |