Package com.enterprisedt.net.ftp
Class MLSXEntryParser
java.lang.Object
com.enterprisedt.net.ftp.FTPFileParser
com.enterprisedt.net.ftp.MLSXEntryParser
Parses the string returned from the MLSD or MLST command
(defined in the "Extensions to FTP" IETF draft). Just grabs
the basic fields, as most servers don't support anything else.
- Version:
- $Revision$
- Author:
- Bruce Blackshaw
-
Field Summary
FieldsFields inherited from class com.enterprisedt.net.ftp.FTPFileParser
ignoreDateParseErrors -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.enterprisedt.net.ftp.FTPFileParser
isMultiLine, isValidFormat, setIgnoreDateParseErrors, split, split, split, trimStart
-
Field Details
-
cvsId
Revision control id- See Also:
-
-
Constructor Details
-
MLSXEntryParser
public MLSXEntryParser()
-
-
Method Details
-
parse
Parse server supplied string that is returned from MLST/D- Specified by:
parsein classFTPFileParser- Parameters:
raw- raw string to parse- Throws:
ParseException
-
setLocale
Set the locale for date parsing of listings. As the timestamps follow a standard without names of months, this is not used in this parser.- Specified by:
setLocalein classFTPFileParser- Parameters:
locale- locale to set
-