zinger.bsheet
Class XMLPersistence

java.lang.Object
  extended by zinger.bsheet.AbstractPersistence
      extended by zinger.bsheet.StandardMapPersistence
          extended by zinger.bsheet.StreamMapPersistence
              extended by zinger.bsheet.XMLPersistence
All Implemented Interfaces:
Persistence
Direct Known Subclasses:
CompressedXMLPersistence

public class XMLPersistence
extends StreamMapPersistence


Field Summary
static XMLPersistence INSTANCE
           
 
Fields inherited from class zinger.bsheet.StandardMapPersistence
APPEARANCE_MAP_KEY, COLUMN_IDENTIFIERS_KEY, COLUMNS_KEY, DATA_VECTOR_KEY, DATA_VECTOR_LENGTH_KEY, FORMATS_KEY, ROW_HEIGHTS_KEY, VERSION_KEY
 
Fields inherited from class zinger.bsheet.AbstractPersistence
extensions, fileFilter
 
Constructor Summary
protected XMLPersistence()
           
protected XMLPersistence(javax.swing.filechooser.FileFilter fileFilter, java.lang.String[] extensions)
           
 
Method Summary
protected  java.util.Map load(java.io.InputStream is)
           
protected  void save(java.util.Map map, java.io.OutputStream os)
           
 
Methods inherited from class zinger.bsheet.StreamMapPersistence
load, save
 
Methods inherited from class zinger.bsheet.StandardMapPersistence
decompressDataVector, evalValues, getColumns, getCompressedDataVector, isLoadCapable, load, load, save, save, setColumns
 
Methods inherited from class zinger.bsheet.AbstractPersistence
autocorrectFile, getFileFilter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INSTANCE

public static final XMLPersistence INSTANCE
Constructor Detail

XMLPersistence

protected XMLPersistence()

XMLPersistence

protected XMLPersistence(javax.swing.filechooser.FileFilter fileFilter,
                         java.lang.String[] extensions)
Method Detail

load

protected java.util.Map load(java.io.InputStream is)
                      throws java.io.IOException
Specified by:
load in class StreamMapPersistence
Throws:
java.io.IOException

save

protected void save(java.util.Map map,
                    java.io.OutputStream os)
             throws java.io.IOException
Specified by:
save in class StreamMapPersistence
Throws:
java.io.IOException