Class EnterpriseUnixFTPEntryParser
java.lang.Object
org.apache.commons.net.ftp.FTPFileEntryParserImpl
org.apache.commons.net.ftp.parser.RegexFTPFileEntryParserImpl
org.apache.commons.net.ftp.parser.EnterpriseUnixFTPEntryParser
- All Implemented Interfaces:
- FTPFileEntryParser
Parser for the Connect Enterprise UNIX FTP Server From Sterling Commerce. Here is a sample of the sort of output line this parser processes:
 
"-C--E-----FTP B QUA1I1 18128 41 Aug 12 13:56 QUADTEST"
Note: EnterpriseUnixFTPEntryParser can only be instantiated through the DefaultFTPParserFactory by class name. It will not be chosen by the autodetection scheme.
- See Also:
- 
Field SummaryFields inherited from class org.apache.commons.net.ftp.parser.RegexFTPFileEntryParserImpl_matcher_
- 
Constructor SummaryConstructorsConstructorDescriptionThe sole constructor for a EnterpriseUnixFTPEntryParser object.
- 
Method SummaryModifier and TypeMethodDescriptionparseFTPEntry(String entry) Parses a line of a unix FTP server file listing and converts it into a usable format in the form of anFTPFileinstance.Methods inherited from class org.apache.commons.net.ftp.parser.RegexFTPFileEntryParserImplgetGroupCnt, getGroupsAsString, group, matches, setRegex, setRegexMethods inherited from class org.apache.commons.net.ftp.FTPFileEntryParserImplpreParse, readNextEntry
- 
Constructor Details- 
EnterpriseUnixFTPEntryParserpublic EnterpriseUnixFTPEntryParser()The sole constructor for a EnterpriseUnixFTPEntryParser object.
 
- 
- 
Method Details- 
parseFTPEntryParses a line of a unix FTP server file listing and converts it into a usable format in the form of anFTPFileinstance. If the file listing line doesn't describe a file,nullis returned, otherwise aFTPFileinstance representing the files in the directory is returned.- Parameters:
- entry- A line of text from the file listing
- Returns:
- An FTPFile instance corresponding to the supplied entry
 
 
-