public class CompositeFileEntryParser extends FTPFileEntryParserImpl
构造器和说明 |
---|
CompositeFileEntryParser(FTPFileEntryParser[] ftpFileEntryParsers) |
限定符和类型 | 方法和说明 |
---|---|
FTPFile |
parseFTPEntry(java.lang.String listEntry)
Parses a line of an FTP server file listing and converts it into a usable
format in the form of an
FTPFile instance. |
preParse, readNextEntry
public CompositeFileEntryParser(FTPFileEntryParser[] ftpFileEntryParsers)
public FTPFile parseFTPEntry(java.lang.String listEntry)
FTPFileEntryParser
FTPFile
instance. If the
file listing line doesn't describe a file, null
should be
returned, otherwise a FTPFile
instance representing the
files in the directory is returned.listEntry
- A line of text from the file listing