java.lang.Object
|
+--org.apache.commons.net.ftp.FTPFileEntryParserImpl
|
+--org.apache.commons.net.ftp.parser.RegexFTPFileEntryParserImpl
|
+--org.apache.commons.net.ftp.parser.OS2FTPEntryParser
org.apache.commons.net.ftp.FTPFileEntryParser FTPFileEntryParser (for usage instructions)
The sole constructor for a OS2FTPEntryParser object. |
parseFTPEntry(String entry) Parses a line of an OS2 FTP server file listing and converts it into a usable format in the form of an FTPFile instance. |
public OS2FTPEntryParser()
- Thrown if the regular expression is unparseable.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.