|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object edu.jhu.ece.iacl.jist.io.FileReaderWriter<int[][]> edu.jhu.ece.iacl.jist.io.ArrayIntegerReaderWriter
public class ArrayIntegerReaderWriter
The Class ArrayIntegerReaderWriter.
Field Summary | |
---|---|
protected static ArrayIntegerReaderWriter |
readerWriter
The Constant readerWriter. |
Fields inherited from class edu.jhu.ece.iacl.jist.io.FileReaderWriter |
---|
extensionFilter, fileName |
Constructor Summary | |
---|---|
ArrayIntegerReaderWriter()
Instantiates a new array integer reader writer. |
|
ArrayIntegerReaderWriter(FileExtensionFilter filter)
Instantiates a new array integer reader writer. |
Method Summary | |
---|---|
static ArrayIntegerReaderWriter |
getInstance()
Gets the single instance of ArrayIntegerReaderWriter. |
protected int[][] |
readObject(java.io.File f)
Read object. |
protected boolean |
writeObject(int[][] obj,
java.io.File f)
writeObject should be overwritten by all extending classes This method is protected because users should call write() From there, other reader/writer methods (including this one) are called as needed. |
Methods inherited from class edu.jhu.ece.iacl.jist.io.FileReaderWriter |
---|
accept, getExtensionFilter, getFileExtension, getFileExtension, getFileName, getFileName, getFileName, getFullFileName, read, setExtensionFilter, setFileName, write, writeObjectToDirectory |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected static final ArrayIntegerReaderWriter readerWriter
Constructor Detail |
---|
public ArrayIntegerReaderWriter(FileExtensionFilter filter)
filter
- the filterpublic ArrayIntegerReaderWriter()
Method Detail |
---|
public static ArrayIntegerReaderWriter getInstance()
protected int[][] readObject(java.io.File f)
FileReaderWriter
readObject
in class FileReaderWriter<int[][]>
f
- the f
protected boolean writeObject(int[][] obj, java.io.File f)
FileReaderWriter
writeObject
in class FileReaderWriter<int[][]>
obj
- The object being writtenf
- Where the file should be written
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |