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 FtpHeuristicsFileListParser

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

All Implemented Interfaces:
  com.oroinc.net.ftp.FTPFileListParser

    public class FtpHeuristicsFileListParser

extends java.lang.Object
implements com.oroinc.net.ftp.FTPFileListParser

This class is an implementation of the interface com.oroinc.net.ftp.FTPFileListParser.

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

Constructor Summary
`FtpHeuristicsFileListParser()` Creates a new FtpHeuristicsFileListParser object using the default directory-listing style.
`FtpHeuristicsFileListParser(FtpHeuristics heuristics)` Creates a new FtpHeuristicsFileListParser object using the specified directory-listing style.
`FtpHeuristicsFileListParser(java.lang.String dirListingStyle)` Creates a new FtpHeuristicsFileListParser object using the specified directory-listing style.

Method Summary
`static void` | `main(java.lang.String[] args)` Used to do stand-alone testing.
`com.oroinc.net.ftp.FTPFile[]` | `parseFileList(java.io.InputStream in)` Parses an input stream into an FTPFile array.

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

Constructor Detail

### FtpHeuristicsFileListParser

    public FtpHeuristicsFileListParser()
                                throws java.lang.Exception

  Creates a new FtpHeuristicsFileListParser object using the default directory-listing style.

  Throws:
    `java.lang.Exception`

### FtpHeuristicsFileListParser

    public FtpHeuristicsFileListParser(java.lang.String dirListingStyle)
                                throws java.lang.Exception

  Creates a new FtpHeuristicsFileListParser object using the specified directory-listing style.

  Parameters:
    `dirListingStyle` - The directory-listing style.
  Throws:
    `java.lang.Exception`

### FtpHeuristicsFileListParser

    public FtpHeuristicsFileListParser(FtpHeuristics heuristics)
                                throws java.lang.Exception

  Creates a new FtpHeuristicsFileListParser object using the specified directory-listing style.

  Parameters:
    `heuristics` - The FtpHeuristics instance.
  Throws:
    `java.lang.Exception`

Method Detail

### parseFileList

    public com.oroinc.net.ftp.FTPFile[] parseFileList(java.io.InputStream in)
                                               throws java.io.IOException

  Parses an input stream into an FTPFile array.

  Specified by:
    `parseFileList` in interface `com.oroinc.net.ftp.FTPFileListParser`
  Parameters:
    `in` - An input stream.
  Returns:
    An FTPFile array.
  Throws:
    `java.io.IOException` - If some error occurs.

### main

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

  Used to do stand-alone testing.

  Parameters:
    `args` - Comman- 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