|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.enterprisedt.net.ftp.FTPFileParser
com.enterprisedt.net.ftp.MLSXEntryParser
public class 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.
Field Summary | |
---|---|
static java.lang.String |
cvsId
Revision control id |
Fields inherited from class com.enterprisedt.net.ftp.FTPFileParser |
---|
ignoreDateParseErrors |
Constructor Summary | |
---|---|
MLSXEntryParser()
|
Method Summary | |
---|---|
FTPFile |
parse(java.lang.String raw)
Parse server supplied string that is returned from MLST/D |
void |
setLocale(java.util.Locale locale)
Set the locale for date parsing of listings. |
Methods inherited from class com.enterprisedt.net.ftp.FTPFileParser |
---|
isMultiLine, isValidFormat, setIgnoreDateParseErrors, split, split, split, trimStart |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String cvsId
Constructor Detail |
---|
public MLSXEntryParser()
Method Detail |
---|
public FTPFile parse(java.lang.String raw) throws java.text.ParseException
parse
in class FTPFileParser
raw
- raw string to parse
java.text.ParseException
public void setLocale(java.util.Locale locale)
setLocale
in class FTPFileParser
locale
- locale to set
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |