|
ElegantJ PDF Library Java API Specification v1.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.elegantj.pdf.RandomAccessBytesArray
Provides the Random Access Bytes Array
| Field Summary | |
protected byte[] |
randomAccessBytesArray
Contains the random access bytes array |
protected int |
randomAccessBytesArrayPointer
The pointer to the random access bytes array |
| Constructor Summary | |
RandomAccessBytesArray(byte[] bytes)
Constructs the RandomAccessBytesArray from the specified randomAccessBytesArray |
|
| Method Summary | |
int |
getPointer()
Returns the current position of the pointer |
int |
length()
Returns the length of the Bytes Array |
int |
read()
Reads the byte from the array |
int |
read(byte[] b)
Reads the bytes and stores to the specified bytes array |
int |
read(byte[] b,
int off,
int len)
Reads the bytes from the specified offset to length and save its to the specified byte array |
boolean |
readBoolean()
Reads the boolean |
byte |
readByte()
Reads the byte |
char |
readChar()
Reads the char |
double |
readDouble()
Reads the double |
float |
readFloat()
Reads the float |
void |
readFully(byte[] b)
Reads the bytes and save it to the specified bytes array |
void |
readFully(byte[] b,
int off,
int len)
Reads the bytes and save it to the specified bytes array |
int |
readInt()
Reads the int |
java.lang.String |
readLine()
Reads the line |
long |
readLong()
Reads the long |
short |
readShort()
Reads the short |
int |
readUnsignedByte()
Reads the unsigned byte |
int |
readUnsignedShort()
Reads the unsigned short |
void |
reset()
Makes the array pointer, to point at the starting position |
void |
seek(int position)
Sets the pointer to the specified position |
int |
skipBytes(int n)
Skip specified bytes |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected byte[] randomAccessBytesArray
protected int randomAccessBytesArrayPointer
| Constructor Detail |
public RandomAccessBytesArray(byte[] bytes)
| Method Detail |
public int read()
throws java.io.IOException
java.io.IOException
public int read(byte[] b,
int off,
int len)
throws java.io.IOException
b - The array in to which the read bytes are storedoff - The offset from which read startedlen - The length up to which byte is read
java.io.IOException
public int read(byte[] b)
throws java.io.IOException
b - The bytes array in to which bytes stored
java.io.IOException
public void readFully(byte[] b)
throws java.io.IOException
java.io.IOException
public void readFully(byte[] b,
int off,
int len)
throws java.io.IOException
java.io.IOException
public int skipBytes(int n)
throws java.io.IOException
n - The specified bytes which are to be skipped
java.io.IOException
public void reset()
throws java.io.IOException
java.io.IOException
public int length()
throws java.io.IOException
java.io.IOException
public void seek(int position)
throws java.io.IOException
position - The specified positoin
java.io.IOException
public int getPointer()
throws java.io.IOException
java.io.IOException
public boolean readBoolean()
throws java.io.IOException
java.io.IOException
public byte readByte()
throws java.io.IOException
java.io.IOException
public int readUnsignedByte()
throws java.io.IOException
java.io.IOException
public short readShort()
throws java.io.IOException
java.io.IOException
public int readUnsignedShort()
throws java.io.IOException
java.io.IOException
public char readChar()
throws java.io.IOException
java.io.IOException
public int readInt()
throws java.io.IOException
java.io.IOException
public long readLong()
throws java.io.IOException
java.io.IOException
public float readFloat()
throws java.io.IOException
java.io.IOException
public double readDouble()
throws java.io.IOException
java.io.IOException
public java.lang.String readLine()
throws java.io.IOException
java.io.IOException
|
ElegantJ PDF Library Java API Specification v1.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||