java.lang.Object | +--org.apache.commons.net.ftp.FTPFileEntryParserImplAll Implemented Interfaces:
The constructor for a FTPFileEntryParserImpl object. |
FTPFile[] | parseFileList(InputStream listStream) Parses an FTP server file listing and converts it into a usable format in the form of an array of FTPFile instances. |
List | preParse(List original) This method is a hook for those implementors (such as VMSVersioningFTPEntryParser, and possibly others) which need to perform some action upon the FTPFileList after it has been created from the server stream, but before any clients see the list. |
String | readNextEntry(BufferedReader reader) Reads the next entry using the supplied BufferedReader object up to whatever delemits one entry from the next. |
public FTPFileEntryParserImpl()
public FTPFile[] parseFileList(InputStream listStream)
FTPFile instances. If the
file list contains no files, null should be
returned, otherwise an array of FTPFile instances
representing the files in the directory is returned.
- If an I/O error occurs reading the listStream.public List preParse(List original)
public String readNextEntry(BufferedReader reader)
- thrown on any IO Error reading from the reader.