| java.lang.Object com.enterprisedt.net.ftp.FTPFileParser
All known Subclasses: com.enterprisedt.net.ftp.WindowsFileParser, com.enterprisedt.net.ftp.MLSXEntryParser, com.enterprisedt.net.ftp.UnixFileParser, com.enterprisedt.net.ftp.VMSFileParser,
FTPFileParser | abstract public class FTPFileParser (Code) | | Root class of all file parsers
author: Bruce Blackshaw version: $Revision: 1.9 $ |
Inner Class :interface Splitter | |
Inner Class :class CharSplitter implements Splitter | |
Inner Class :class WhitespaceSplitter implements Splitter | |
ignoreDateParseErrors | protected boolean ignoreDateParseErrors(Code) | | Ignore date parsing errors
|
setIgnoreDateParseErrors | public void setIgnoreDateParseErrors(boolean ignore)(Code) | | Ignore date parse errors
Parameters: ignore - |
setLocale | abstract public void setLocale(Locale locale)(Code) | | Set the locale for date parsing of listings
Parameters: locale - locale to set |
split | protected String[] split(String str)(Code) | | Splits string consisting of fields separated by
whitespace into an array of strings. Yes, we could
use String.split() but this would restrict us to 1.4+
Parameters: str - string to split array of fields |
split | protected String[] split(String str, char token)(Code) | | Splits string consisting of fields separated by
whitespace into an array of strings. Yes, we could
use String.split() but this would restrict us to 1.4+
Parameters: str - string to split array of fields |
split | protected String[] split(String str, Splitter splitter)(Code) | | Splits string consisting of fields separated by
whitespace into an array of strings. Yes, we could
use String.split() but this would restrict us to 1.4+
Parameters: str - string to split array of fields |
trimStart | protected String trimStart(String str)(Code) | | Trim the start of the supplied string
Parameters: str - string to trim string trimmed of whitespace at the start |
|
|