org.apache.commons.net.ftp.parser
Class NTFTPEntryParser
- FTPFileEntryParser, FTPFileListParser
public class NTFTPEntryParser
Implementation of FTPFileEntryParser and FTPFileListParser for NT Systems.
FTPFile | parseFTPEntry(String entry) - Parses a line of an NT FTP server file listing and converts it into a
usable format in the form of an
FTPFile instance.
|
NTFTPEntryParser
public NTFTPEntryParser()
The sole constructor for an NTFTPEntryParser object.
parseFTPEntry
public FTPFile parseFTPEntry(String entry)
Parses a line of an NT FTP server file listing and converts it into a
usable format in the form of an
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.
- parseFTPEntry in interface FTPFileEntryParser
entry
- A line of text from the file listing
- An FTPFile instance corresponding to the supplied entry