public class EnterpriseUnixFTPEntryParser extends RegexFTPFileEntryParserImpl
Note: EnterpriseUnixFTPEntryParser can only be instantiated through the DefaultFTPParserFactory by classname. It will not be chosen by the autodetection scheme.
FTPFileEntryParser (for usage instructions)
,
DefaultFTPFileEntryParserFactory
_matcher_
Constructor and Description |
---|
EnterpriseUnixFTPEntryParser()
The sole constructor for a EnterpriseUnixFTPEntryParser object.
|
Modifier and Type | Method and Description |
---|---|
FTPFile |
parseFTPEntry(String entry)
Parses a line of a unix FTP server file listing and converts it into a
usable format in the form of an
FTPFile instance. |
getGroupCnt, getGroupsAsString, group, matches, setRegex, setRegex
preParse, readNextEntry
public EnterpriseUnixFTPEntryParser()
public FTPFile parseFTPEntry(String entry)
FTPFile
instance. If
the file listing line doesn't describe a file, null
is
returned, otherwise a FTPFile
instance representing the
files in the directory is returned.entry
- A line of text from the file listingCopyright © 2001–2016 The Apache Software Foundation. All rights reserved.