public class CompositeFileEntryParser extends FTPFileEntryParserImpl
| Constructor and Description |
|---|
CompositeFileEntryParser(FTPFileEntryParser[] ftpFileEntryParsers)
Constructs a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
FTPFile |
parseFTPEntry(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, readNextEntrypublic CompositeFileEntryParser(FTPFileEntryParser[] ftpFileEntryParsers)
ftpFileEntryParsers - An array of FTPFileEntryParser.public FTPFile parseFTPEntry(String listEntry)
FTPFileEntryParserFTPFile 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