com.enterprisedt.net.ftp
Class MLSXEntryParser
java.lang.Object
com.enterprisedt.net.ftp.FTPFileParser
com.enterprisedt.net.ftp.MLSXEntryParser
public class MLSXEntryParser
- extends FTPFileParser
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: 1.1 $
- Author:
- Bruce Blackshaw
Method Summary |
FTPFile |
parse(String raw)
Parse server supplied string that is returned from MLST/D |
void |
setLocale(Locale locale)
Set the locale for date parsing of listings. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
cvsId
public static final String cvsId
- Revision control id
- See Also:
- Constant Field Values
MLSXEntryParser
public MLSXEntryParser()
parse
public FTPFile parse(String raw)
throws ParseException
- Parse server supplied string that is returned from MLST/D
- Specified by:
parse
in class FTPFileParser
- Parameters:
raw
- raw string to parse
- Throws:
ParseException
setLocale
public void setLocale(Locale locale)
- 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:
setLocale
in class FTPFileParser
- Parameters:
locale
- locale to set
Copyright © 2000-2007 Enterprise Distributed Technologies. All Rights Reserved.