net.sf.xbus.technical.file
Class FileReceiverConfiguration

java.lang.Object
  extended by net.sf.xbus.technical.file.FileReceiverConfiguration

public class FileReceiverConfiguration
extends java.lang.Object

Makes some configuration parameters accessible to different Receivers dealing with files.


Constructor Summary
FileReceiverConfiguration(java.lang.String system)
          Reads some configuration entries and stores them in class variables.
 
Method Summary
 java.lang.String getEncoding()
          Returns the parameter Encoding.
 java.lang.String getFileName()
          Returns the parameter FileName.
 int getLineLength()
          Returns the parameter RecordLineLength.
 int getMaxLineLength()
          Returns the parameter MaxLineLength.
 java.lang.String getOnError()
          Returns the parameter OnError.
 java.lang.String getResolution()
          Returns the parameter FinalResolution.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileReceiverConfiguration

public FileReceiverConfiguration(java.lang.String system)
                          throws XException
Reads some configuration entries and stores them in class variables.

Parameters:
system - name of the system under which the parameters are stored
Throws:
XException - if something goes wrong
Method Detail

getFileName

public java.lang.String getFileName()
Returns the parameter FileName.


getEncoding

public java.lang.String getEncoding()
Returns the parameter Encoding.


getLineLength

public int getLineLength()
Returns the parameter RecordLineLength.


getMaxLineLength

public int getMaxLineLength()
Returns the parameter MaxLineLength.


getOnError

public java.lang.String getOnError()
Returns the parameter OnError.


getResolution

public java.lang.String getResolution()
Returns the parameter FinalResolution.