Overview | Package | Class | Tree | Deprecated | Index | Help
| Sun Adapter for Batch/FTP
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.stc.eways.batchext
Class FtpFileValidator

    java.lang.Object
      com.stc.eways.batchext.FtpFileValidator

    public class FtpFileValidator

extends java.lang.Object

This class is used to validate the relationships of parameters in the FtpFileConfiguration, that is, the configuration parameters for the FTP ETD.

Version:
  cvs revision: $Revision: 1.5 $ Last Modified: $Date: 2008/02/25 16:56:24 $
Author:
  Harry Liu

Constructor Summary
`FtpFileValidator(FtpFileConfiguration configuration, java.lang.String mode)` Constructor.

Method Summary
`static void` | `main(java.lang.String[] args)` Used to do stand-alone testing.
`void` | `validate()` Validates against the configuration parameters' relationships.

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### FtpFileValidator

    public FtpFileValidator(FtpFileConfiguration configuration,
                            java.lang.String mode)

  Constructor.

  Parameters:
    `configuration` - An instance of FtpFileConfiguration.

Method Detail

### validate

    public void validate()
                  throws FtpFileException

  Validates against the configuration parameters' relationships.

  Throws:
    `FtpFileException` - If some error occurs.

### main

    public static void main(java.lang.String[] args)

  Used to do stand-alone testing.

  Parameters:
    `args` - Command line parameters.

Overview | Package | Class | Tree | Deprecated | Index | Help
| Sun Adapter for Batch/FTP
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD