| 
 | edtFTPj | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.enterprisedt.net.ftp.FTPFileParser
public abstract class FTPFileParser
Root class of all file parsers
| Constructor Summary | |
|---|---|
| FTPFileParser() | |
| Method Summary | |
|---|---|
| abstract  FTPFile | parse(String raw)Parse server supplied string | 
| abstract  void | setLocale(Locale locale)Set the locale for date parsing of listings | 
| protected  String[] | split(String str)Splits string consisting of fields separated by whitespace into an array of strings. | 
| protected  String[] | split(String str,
      char token)Splits string consisting of fields separated by whitespace into an array of strings. | 
| protected  String[] | split(String str,
      com.enterprisedt.net.ftp.FTPFileParser.Splitter splitter)Splits string consisting of fields separated by whitespace into an array of strings. | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public FTPFileParser()
| Method Detail | 
|---|
public abstract FTPFile parse(String raw)
                       throws ParseException
raw - raw string to parse
ParseExceptionpublic abstract void setLocale(Locale locale)
locale - locale to setprotected String[] split(String str)
str - string to split
protected String[] split(String str,
                         char token)
str - string to split
protected String[] split(String str,
                         com.enterprisedt.net.ftp.FTPFileParser.Splitter splitter)
str - string to split
| 
 | edtFTPj | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||