Class TempFileCache


  • public class TempFileCache
    extends java.lang.Object
    • Field Detail

      • filename

        private java.lang.String filename
      • cache

        private java.io.RandomAccessFile cache
      • baos

        private java.io.ByteArrayOutputStream baos
      • buf

        private byte[] buf
    • Constructor Detail

      • TempFileCache

        public TempFileCache​(java.lang.String filename)
                      throws java.io.IOException
        Throws:
        java.io.IOException
    • Method Detail

      • get

        public PdfObject get​(TempFileCache.ObjectPosition pos)
                      throws java.io.IOException,
                             java.lang.ClassNotFoundException
        Throws:
        java.io.IOException
        java.lang.ClassNotFoundException
      • getBuffer

        private byte[] getBuffer​(int size)
      • close

        public void close()
                   throws java.io.IOException
        Throws:
        java.io.IOException