| java.lang.Object net.sf.jasperreports.engine.util.JRSwapFile net.sf.jasperreports.engine.util.JRConcurrentSwapFile
Method Summary | |
protected void | read(byte[] data, int dataOffset, int dataLength, long fileOffset) | protected void | write(byte[] data, int dataSize, int dataOffset, long fileOffset) |
JRConcurrentSwapFile | public JRConcurrentSwapFile(String directory, int blockSize, int minGrowCount)(Code) | | Creates a swap file.
The file name is generated automatically.
Parameters: directory - the directory where the file should be created. Parameters: blockSize - the size of the blocks allocated by the swap file Parameters: minGrowCount - the minimum number of blocks by which the swap file grows when full |
read | protected void read(byte[] data, int dataOffset, int dataLength, long fileOffset) throws IOException(Code) | | |
write | protected void write(byte[] data, int dataSize, int dataOffset, long fileOffset) throws IOException(Code) | | |
|
|