dsto.dfc.swing.persistence
Class SerializedFormat

java.lang.Object
  extended by dsto.dfc.swing.persistence.SerializedFormat

public class SerializedFormat
extends Object

Stores format options for serialization.

Version:
$Revision$
Author:
Matthew Phillips
See Also:
Deserializer

Field Summary
static String FORMAT_BINARY
           
static String FORMAT_UNKNOWN
           
static String FORMAT_XML
           
 
Constructor Summary
SerializedFormat()
           
SerializedFormat(String type, boolean compressed)
           
 
Method Summary
 String getType()
           
 boolean isCompressed()
           
 void setCompressed(boolean newCompressed)
           
 void setType(String newType)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

FORMAT_XML

public static final String FORMAT_XML
See Also:
Constant Field Values

FORMAT_BINARY

public static final String FORMAT_BINARY
See Also:
Constant Field Values

FORMAT_UNKNOWN

public static final String FORMAT_UNKNOWN
See Also:
Constant Field Values
Constructor Detail

SerializedFormat

public SerializedFormat()

SerializedFormat

public SerializedFormat(String type,
                        boolean compressed)
Method Detail

getType

public String getType()

setType

public void setType(String newType)

setCompressed

public void setCompressed(boolean newCompressed)

isCompressed

public boolean isCompressed()


Copyright © 2008 Commonwealth of Australia