infomat.io
Class IMatrixIO
java.lang.Object
infomat.io.IMatrixIO
public class IMatrixIO
- extends java.lang.Object
For loading and saving an IMatrix.
The dtd is changed as of 080319.
Anything in a matrix file is read,
but a minimum is written.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
matrix
private IMatrix matrix
IMatrixIO
public IMatrixIO()
load
public IMatrix load(java.io.File file)
- Loads a IMatrix from file in XML format
loadCompressed
public IMatrix loadCompressed(java.io.File file)
load
private IMatrix load(org.xml.sax.InputSource source)
save
public void save(IMatrix m,
java.io.File file)
- Exports the IMatrix in XML format
saveCompressed
public void saveCompressed(IMatrix m,
java.lang.String fileName)
- Exports the IMatrix in XML format
The file is saved in compressed .zip-format.
printDTD
public void printDTD(java.io.PrintWriter out)
save
private void save(java.io.PrintWriter out)
saveIObjectSet
private void saveIObjectSet(IObjectSet set,
java.io.PrintWriter out)
saveCells
private void saveCells(IMatrix matrix,
java.io.PrintWriter out)