com.dynalivery.saffron.client
Class FileSystemDestinationOptions

java.lang.Object
  extended bycom.dynalivery.saffron.client.DestinationOptions
      extended bycom.dynalivery.saffron.client.FileSystemDestinationOptions
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
ClientFileSystemDestinationOptions, ServerFileSystemDestinationOptions, StreamDestinationOptions

public abstract class FileSystemDestinationOptions
extends DestinationOptions
implements java.io.Serializable

This class defines the destination options where one or more file will be written to the file system.

See Also:
Serialized Form

Field Summary
protected  java.lang.String fullPathName
          the full pathname String for these FileSystemDestination options
protected  boolean unzipOutput
          unzipOutput, this is used to determine whether to unzip the output files or not.
 
Fields inherited from class com.dynalivery.saffron.client.DestinationOptions
destinationType
 
Constructor Summary
FileSystemDestinationOptions(int destType, java.lang.String fullPathName)
          Creates new FileSystemDestinationOptions
 
Method Summary
 void doNotUnzipOutput()
          doNotUnzipOutput, the output will not be unzipped
 java.lang.String getFullPathName()
          Returns the full pathname String for the destination file(s)
 byte[] getLocalDestinationOptionsXML()
          Returns the XML String that represents the current local destination options
 byte[] getRemoteDestinationOptionsXML(org.omg.CORBA.ORB orb, org.omg.PortableServer.POA poa)
          Returns the XML String that represents the current remote destination options
 void setFullPathName(java.lang.String fullPathName)
          Set the full pathname for the destination options
 java.lang.String toString()
          Creates display string for destination options.
 
Methods inherited from class com.dynalivery.saffron.client.DestinationOptions
getDestinationType, setDestinationType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

fullPathName

protected java.lang.String fullPathName
the full pathname String for these FileSystemDestination options


unzipOutput

protected boolean unzipOutput
unzipOutput, this is used to determine whether to unzip the output files or not.

Constructor Detail

FileSystemDestinationOptions

public FileSystemDestinationOptions(int destType,
                                    java.lang.String fullPathName)
Creates new FileSystemDestinationOptions

Parameters:
fullPathName - the full pathname for the destination file(s)
Method Detail

setFullPathName

public void setFullPathName(java.lang.String fullPathName)
Set the full pathname for the destination options

Parameters:
fullPathName - the full pathname for the destination file(s)

doNotUnzipOutput

public void doNotUnzipOutput()
doNotUnzipOutput, the output will not be unzipped


getFullPathName

public java.lang.String getFullPathName()
Returns the full pathname String for the destination file(s)

Returns:
the full pathname String for the destination file(s)

getLocalDestinationOptionsXML

public byte[] getLocalDestinationOptionsXML()
Returns the XML String that represents the current local destination options

Returns:
the XML String that represents the current local destination options

getRemoteDestinationOptionsXML

public byte[] getRemoteDestinationOptionsXML(org.omg.CORBA.ORB orb,
                                             org.omg.PortableServer.POA poa)
                                      throws org.omg.PortableServer.POAPackage.ServantNotActive,
                                             org.omg.PortableServer.POAPackage.WrongPolicy
Returns the XML String that represents the current remote destination options

Parameters:
orb - the CORBA ORB reference
poa - the CORBA POA (portable object adapter) reference
Returns:
the XML String that represents the current remote destination options
Throws:
org.omg.PortableServer.POAPackage.ServantNotActive
org.omg.PortableServer.POAPackage.WrongPolicy

toString

public java.lang.String toString()
Creates display string for destination options. Must be overridden in subclasses.

Specified by:
toString in class DestinationOptions