edu.stanford.math.plex4.io
public class SimplexStreamReaderWriter extends java.lang.Object implements ObjectReader<AbstractFilteredStream<Simplex>>, ObjectWriter<AbstractFilteredStream<Simplex>>
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getExtension() |
static SimplexStreamReaderWriter |
getInstance() |
AbstractFilteredStream<Simplex> |
importFromFile(java.lang.String path) |
void |
writeToFile(AbstractFilteredStream<Simplex> object,
java.lang.String path) |
public static SimplexStreamReaderWriter getInstance()
public java.lang.String getExtension()
getExtension
in interface ObjectWriter<AbstractFilteredStream<Simplex>>
public AbstractFilteredStream<Simplex> importFromFile(java.lang.String path) throws java.io.IOException
importFromFile
in interface ObjectReader<AbstractFilteredStream<Simplex>>
java.io.IOException
public void writeToFile(AbstractFilteredStream<Simplex> object, java.lang.String path) throws java.io.IOException
writeToFile
in interface ObjectWriter<AbstractFilteredStream<Simplex>>
java.io.IOException