wt.export
Class Export

java.lang.Object
  extended bywt.export.Export
All Implemented Interfaces:
Externalizable, Serializable

public class Export
extends Object
implements Externalizable



Supported API: false

Extendable: false

See Also:
Serialized Form

Field Summary
private static String CLASSNAME
           
static String CSV
           
static String CSV_MAP_KEYS
           
static String EXPORTABLE_EXPORT_METHOD
           
private static ExportMechanism exportMechanism
           
static long EXTERNALIZATION_VERSION_UID
           
static String IBA_VALUE_KEY
           
static String IMAGE
           
static String IMAGE_FILENAME
           
static String IMAGE_ROOT
           
static String IMAGE_ROOT_KEY
           
protected static long OLD_FORMAT_VERSION_UID
           
private static String RESOURCE
           
(package private) static long serialVersionUID
           
 
Constructor Summary
Export()
           
 
Method Summary
static boolean closeExportMechanism(Hashtable nv, Hashtable cmd_line, Vector return_objects)
          

Supported API: false
static boolean createExportMechanism(Hashtable nv, Hashtable cmd_line, Vector return_objects)
          

Supported API: false
static Object createObjectInstance(String classname)
           
static boolean execute(Hashtable nv, Hashtable cmd_line, Vector return_objects)
          

Supported API: false
static ExportMechanism getCachedExportMechanism(String key)
           
static String getCachedString(String key)
           
 void readExternal(ObjectInput input)
          Reads the non-transient fields of this class from an external source.
private  boolean readOldVersion(ObjectInput input, long readSerialVersionUID, boolean passThrough, boolean superDone)
          Reads the non-transient fields of this class from an external source, which is not the current version.
protected  boolean readVersion(Export thisObject, ObjectInput input, long readSerialVersionUID, boolean passThrough, boolean superDone)
          Reads the non-transient fields of this class from an external source.
static void removeCachedString(String key)
           
static void setCacheString(String key, String value)
           
 void writeExternal(ObjectOutput output)
          Writes the non-transient fields of this class to an external source.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

RESOURCE

private static final String RESOURCE
See Also:
Constant Field Values

CLASSNAME

private static final String CLASSNAME

serialVersionUID

static final long serialVersionUID
See Also:
Constant Field Values

EXTERNALIZATION_VERSION_UID

public static final long EXTERNALIZATION_VERSION_UID
See Also:
Constant Field Values

OLD_FORMAT_VERSION_UID

protected static final long OLD_FORMAT_VERSION_UID
See Also:
Constant Field Values

EXPORTABLE_EXPORT_METHOD

public static final String EXPORTABLE_EXPORT_METHOD
See Also:
Constant Field Values

CSV_MAP_KEYS

public static String CSV_MAP_KEYS

IBA_VALUE_KEY

public static String IBA_VALUE_KEY

IMAGE_ROOT_KEY

public static String IMAGE_ROOT_KEY

CSV

public static final String CSV
See Also:
Constant Field Values

IMAGE

public static final String IMAGE
See Also:
Constant Field Values

IMAGE_ROOT

public static final String IMAGE_ROOT
See Also:
Constant Field Values

IMAGE_FILENAME

public static final String IMAGE_FILENAME
See Also:
Constant Field Values

exportMechanism

private static ExportMechanism exportMechanism
Constructor Detail

Export

public Export()
Method Detail

writeExternal

public void writeExternal(ObjectOutput output)
                   throws IOException
Writes the non-transient fields of this class to an external source.

Supported API: false

Specified by:
writeExternal in interface Externalizable
Parameters:
output -
Throws:
IOException

readExternal

public void readExternal(ObjectInput input)
                  throws IOException,
                         ClassNotFoundException
Reads the non-transient fields of this class from an external source.

Supported API: false

Specified by:
readExternal in interface Externalizable
Parameters:
input -
Throws:
IOException
ClassNotFoundException

readVersion

protected boolean readVersion(Export thisObject,
                              ObjectInput input,
                              long readSerialVersionUID,
                              boolean passThrough,
                              boolean superDone)
                       throws IOException,
                              ClassNotFoundException
Reads the non-transient fields of this class from an external source.

Supported API: false

Parameters:
thisObject -
input -
readSerialVersionUID -
passThrough -
superDone -
Returns:
boolean
Throws:
IOException
ClassNotFoundException

readOldVersion

private boolean readOldVersion(ObjectInput input,
                               long readSerialVersionUID,
                               boolean passThrough,
                               boolean superDone)
                        throws IOException,
                               ClassNotFoundException
Reads the non-transient fields of this class from an external source, which is not the current version.

Parameters:
input -
readSerialVersionUID -
passThrough -
superDone -
Returns:
boolean
Throws:
IOException
ClassNotFoundException

execute

public static boolean execute(Hashtable nv,
                              Hashtable cmd_line,
                              Vector return_objects)


Supported API: false

Parameters:
nv -
cmd_line -
return_objects -
Returns:
boolean

createExportMechanism

public static boolean createExportMechanism(Hashtable nv,
                                            Hashtable cmd_line,
                                            Vector return_objects)


Supported API: false

Parameters:
nv -
cmd_line -
return_objects -
Returns:
boolean

closeExportMechanism

public static boolean closeExportMechanism(Hashtable nv,
                                           Hashtable cmd_line,
                                           Vector return_objects)


Supported API: false

Parameters:
nv -
cmd_line -
return_objects -
Returns:
boolean

createObjectInstance

public static Object createObjectInstance(String classname)

getCachedExportMechanism

public static ExportMechanism getCachedExportMechanism(String key)

removeCachedString

public static void removeCachedString(String key)

setCacheString

public static void setCacheString(String key,
                                  String value)

getCachedString

public static String getCachedString(String key)