public class IOTester extends Object
RandomAccessInputStream
's
efficiency in various cases.
Constructor and Description |
---|
IOTester() |
Modifier and Type | Method and Description |
---|---|
byte[] |
createData() |
void |
deleteData(String filename) |
static void |
main(String[] args) |
void |
saveData(String filename,
byte[] data) |
long |
testBlock(String filename,
int blockSize)
Searches for the divider tag in blocks of the given size.
|
void |
testIO() |
long |
testSequential(String filename)
Searches for the divider tag using repeated readChar() calls.
|
public byte[] createData()
public void saveData(String filename, byte[] data) throws IOException
IOException
public long testSequential(String filename) throws IOException
IOException
public long testBlock(String filename, int blockSize) throws IOException
IOException
public void deleteData(String filename)
public void testIO() throws IOException
IOException
public static void main(String[] args) throws IOException
IOException
Copyright © 2014 Open Microscopy Environment