Home » pdfbox-1.1.0-src » org.apache.pdfbox.io » [javadoc | source]
org.apache.pdfbox.io
public class: RandomAccessFile [javadoc | source]
java.lang.Object
   org.apache.pdfbox.io.RandomAccessFile

All Implemented Interfaces:
    RandomAccess

An interface to allow temp PDF data to be stored in a scratch file on the disk to reduce memory consumption.
Constructor:
 public RandomAccessFile(File file,
    String mode) throws FileNotFoundException 
    Constructor.
    Parameters:
    file - The file to write the data to.
    mode - The writing mode.
    Throws:
    FileNotFoundException - If the file cannot be created.
Method from org.apache.pdfbox.io.RandomAccessFile Summary:
close,   length,   read,   read,   seek,   write,   write
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.pdfbox.io.RandomAccessFile Detail:
 public  void close() throws IOException 
    {@inheritDoc}
 public long length() throws IOException 
    {@inheritDoc}
 public int read() throws IOException 
    {@inheritDoc}
 public int read(byte[] b,
    int offset,
    int length) throws IOException 
    {@inheritDoc}
 public  void seek(long position) throws IOException 
    {@inheritDoc}
 public  void write(int b) throws IOException 
    {@inheritDoc}
 public  void write(byte[] b,
    int offset,
    int length) throws IOException 
    {@inheritDoc}