edu.jhu.ece.iacl.jist.io
Class JistLayoutReaderWriter

java.lang.Object
  extended by edu.jhu.ece.iacl.jist.io.FileReaderWriter<PipeLayout>
      extended by edu.jhu.ece.iacl.jist.io.JistLayoutReaderWriter

public class JistLayoutReaderWriter
extends FileReaderWriter<PipeLayout>

The Class JistLayoutReaderWriter.


Field Summary
 
Fields inherited from class edu.jhu.ece.iacl.jist.io.FileReaderWriter
extensionFilter, fileName
 
Constructor Summary
JistLayoutReaderWriter()
          Instantiates a new jist layout reader writer.
 
Method Summary
protected  PipeLayout readObject(java.io.File f)
          Read object.
protected  boolean writeObject(PipeLayout layout, 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
 

Constructor Detail

JistLayoutReaderWriter

public JistLayoutReaderWriter()
Instantiates a new jist layout reader writer.

Method Detail

readObject

protected PipeLayout readObject(java.io.File f)
Description copied from class: FileReaderWriter
Read object.

Specified by:
readObject in class FileReaderWriter<PipeLayout>
Parameters:
f - the f
Returns:
the t

writeObject

protected boolean writeObject(PipeLayout layout,
                              java.io.File f)
Description copied from class: FileReaderWriter
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.

Specified by:
writeObject in class FileReaderWriter<PipeLayout>
Parameters:
layout - The object being written
f - Where the file should be written
Returns:
true if successful, false otherwise