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

java.lang.Object
  extended by edu.jhu.ece.iacl.jist.io.FileReaderWriter<EmbeddedSurface>
      extended by edu.jhu.ece.iacl.jist.io.SurfaceReaderWriter
          extended by edu.jhu.ece.iacl.jist.io.SurfaceMipavReaderWriter

public class SurfaceMipavReaderWriter
extends SurfaceReaderWriter

The Class SurfaceMipavReaderWriter.


Field Summary
protected static SurfaceMipavReaderWriter readerWriter
          The Constant readerWriter.
 
Fields inherited from class edu.jhu.ece.iacl.jist.io.FileReaderWriter
extensionFilter, fileName
 
Constructor Summary
SurfaceMipavReaderWriter()
          Instantiates a new surface mipav reader writer.
 
Method Summary
static SurfaceMipavReaderWriter getInstance()
          Gets the single instance of SurfaceMipavReaderWriter.
protected  EmbeddedSurface readObject(java.io.File f)
          Read object.
protected  boolean writeObject(EmbeddedSurface mesh, 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.SurfaceReaderWriter
writeObjectToDirectory
 
Methods inherited from class edu.jhu.ece.iacl.jist.io.FileReaderWriter
accept, getExtensionFilter, getFileExtension, getFileExtension, getFileName, getFileName, getFileName, getFullFileName, read, setExtensionFilter, setFileName, write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

readerWriter

protected static final SurfaceMipavReaderWriter readerWriter
The Constant readerWriter.

Constructor Detail

SurfaceMipavReaderWriter

public SurfaceMipavReaderWriter()
Instantiates a new surface mipav reader writer.

Method Detail

getInstance

public static SurfaceMipavReaderWriter getInstance()
Gets the single instance of SurfaceMipavReaderWriter.

Returns:
single instance of SurfaceMipavReaderWriter

readObject

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

Overrides:
readObject in class SurfaceReaderWriter
Parameters:
f - the f
Returns:
the t

writeObject

protected boolean writeObject(EmbeddedSurface mesh,
                              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.

Overrides:
writeObject in class SurfaceReaderWriter
Parameters:
mesh - The object being written
f - Where the file should be written
Returns:
true if successful, false otherwise