infomat.io
Class IVectorIO<T extends IVectorIndex>

java.lang.Object
  extended by infomat.io.IVectorIO<T>

public class IVectorIO<T extends IVectorIndex>
extends java.lang.Object

For loading and saving a IVector. Only loads those IObjects that are in the IObjectGroup provided!


Nested Class Summary
private  class IVectorIO.IVectorOfIObjectsHandler<T extends IVectorIndex>
           
 
Constructor Summary
IVectorIO()
           
 
Method Summary
private  IVector<T> load(org.xml.sax.InputSource source, IObjectGroup group)
           
 IVector<T> load(IObjectGroup group, java.io.File file)
           
 IVector<T> loadCompressed(IObjectGroup group, java.io.File file)
           
 void printDTD(java.io.PrintWriter out)
           
 void printPartDTD(java.io.PrintWriter out)
           
 void save(IVector<T> vec, java.io.File file)
           
 void save(java.io.PrintWriter out, IVector<T> vec)
           
 void saveCompressed(IVector<T> vec, java.lang.String fileName)
           
 void savePart(java.io.PrintWriter out, IVector<T> vec)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IVectorIO

public IVectorIO()
Method Detail

load

public IVector<T> load(IObjectGroup group,
                       java.io.File file)

loadCompressed

public IVector<T> loadCompressed(IObjectGroup group,
                                 java.io.File file)

load

private IVector<T> load(org.xml.sax.InputSource source,
                        IObjectGroup group)

save

public void save(IVector<T> vec,
                 java.io.File file)

saveCompressed

public void saveCompressed(IVector<T> vec,
                           java.lang.String fileName)

printDTD

public void printDTD(java.io.PrintWriter out)

printPartDTD

public void printPartDTD(java.io.PrintWriter out)

save

public void save(java.io.PrintWriter out,
                 IVector<T> vec)

savePart

public void savePart(java.io.PrintWriter out,
                     IVector<T> vec)