org.apache.commons.net.ftp.parser
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.
Version: $Id: EnterpriseUnixFTPEntryParser.java 165675 2005-05-02 20:09:55Z rwinston $
See Also: FTPFileEntryParser (for usage instructions)
DefaultFTPFileEntryParserFactory
Constructor Summary | |
---|---|
EnterpriseUnixFTPEntryParser()
The sole constructor for a EnterpriseUnixFTPEntryParser object.
|
Method Summary | |
---|---|
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. |
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.
Parameters: entry A line of text from the file listing
Returns: An FTPFile instance corresponding to the supplied entry