Package com.itextpdf.text.io
Class TempFileCache
- java.lang.Object
-
- com.itextpdf.text.io.TempFileCache
-
public class TempFileCache extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description class
TempFileCache.ObjectPosition
-
Constructor Summary
Constructors Constructor Description TempFileCache(java.lang.String filename)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
PdfObject
get(TempFileCache.ObjectPosition pos)
private byte[]
getBuffer(int size)
TempFileCache.ObjectPosition
put(PdfObject obj)
-
-
-
Method Detail
-
put
public TempFileCache.ObjectPosition put(PdfObject obj) throws java.io.IOException
- Throws:
java.io.IOException
-
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
-
-