public class RandomAccessMemoryMapBuffer extends Object implements RandomAccessBuffer
| Constructor and Description |
|---|
RandomAccessMemoryMapBuffer(InputStream in) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
protected void |
finalize() |
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 RandomAccessMemoryMapBuffer(InputStream in)
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.