public class RandomAccessDataBuffer extends Object implements RandomAccessBuffer
| Constructor and Description |
|---|
RandomAccessDataBuffer(byte[] data) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
long |
getFilePointer() |
byte[] |
getPdfBuffer() |
long |
length() |
int |
read() |
int |
read(byte[] b) |
String |
readLine()
return next line (returns null if no line)
|
void |
seek(long pos) |
public long getFilePointer()
throws IOException
getFilePointer in interface RandomAccessBufferIOExceptionpublic void seek(long pos)
throws IOException
seek in interface RandomAccessBufferIOExceptionpublic void close()
throws IOException
close in interface RandomAccessBufferIOExceptionpublic long length()
throws IOException
length in interface RandomAccessBufferIOExceptionpublic int read()
throws IOException
read in interface RandomAccessBufferIOExceptionpublic String readLine() throws IOException
readLine in interface RandomAccessBufferIOExceptionpublic int read(byte[] b)
throws IOException
read in interface RandomAccessBufferIOExceptionpublic byte[] getPdfBuffer()
getPdfBuffer in interface RandomAccessBufferCopyright © 2017. All rights reserved.