infomat.io
Class IMatrixIO

java.lang.Object
  extended by infomat.io.IMatrixIO

public class IMatrixIO
extends java.lang.Object

For loading and saving a IMatrix.

Version:
070205
Author:
Magnus Rosell

Constructor Summary
IMatrixIO()
           
 
Method Summary
 IMatrix load(java.io.File file)
          Loads a IMatrix from file in XML format
 IMatrix loadCompressed(java.io.File file)
           
 void printDTD(java.io.PrintWriter out)
           
 void save(IMatrix m, java.io.File file)
          Exports the IMatrix in XML format
 void saveCompressed(IMatrix m, java.lang.String fileName)
          Exports the IMatrix in XML format The file is saved in compressed .zip-format.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IMatrixIO

public IMatrixIO()
Method Detail

load

public IMatrix load(java.io.File file)
Loads a IMatrix from file in XML format


loadCompressed

public IMatrix loadCompressed(java.io.File file)

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)