|
edtFTPj | |||||||||
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.UnixFileParser
public class UnixFileParser
Represents a remote Unix file parser
Field Summary | |
---|---|
static String |
cvsId
Revision control id |
Constructor Summary | |
---|---|
UnixFileParser()
Constructor |
Method Summary | |
---|---|
static boolean |
isUnix(String raw)
Is this a Unix format listing? |
FTPFile |
parse(String raw)
Parse server supplied string, e.g.: lrwxrwxrwx 1 wuftpd wuftpd 14 Jul 22 2002 MIRRORS -> README-MIRRORS -rw-r--r-- 1 b173771 users 431 Mar 31 20:04 .htaccess |
void |
setLocale(Locale locale)
Set the locale for date parsing of listings |
Methods inherited from class com.enterprisedt.net.ftp.FTPFileParser |
---|
split, split, split |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String cvsId
Constructor Detail |
---|
public UnixFileParser()
Method Detail |
---|
public void setLocale(Locale locale)
setLocale
in class FTPFileParser
locale
- locale to setpublic static boolean isUnix(String raw)
raw
- raw listing line
public FTPFile parse(String raw) throws ParseException
parse
in class FTPFileParser
raw
- raw string to parse
ParseException
|
edtFTPj | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |