| org.apache.commons.net.ftp.parser.RegexFTPFileEntryParserImpl org.apache.commons.net.ftp.parser.ConfigurableFTPFileEntryParserImpl
All known Subclasses: org.apache.commons.net.ftp.parser.NTFTPEntryParser, org.apache.commons.net.ftp.parser.UnixFTPEntryParser, org.apache.commons.net.ftp.parser.OS2FTPEntryParser, org.apache.commons.net.ftp.parser.OS400FTPEntryParser, org.apache.commons.net.ftp.parser.VMSFTPEntryParser, org.apache.commons.net.ftp.parser.MVSFTPEntryParser,
ConfigurableFTPFileEntryParserImpl | abstract public class ConfigurableFTPFileEntryParserImpl extends RegexFTPFileEntryParserImpl implements Configurable(Code) | | To change the template for this generated type comment go to
Window - Preferences - Java - Code Style - Code Templates - Comments
|
Method Summary | |
public void | configure(FTPClientConfig config) Implementation of the
Configurable Configurable interface. | abstract protected FTPClientConfig | getDefaultConfiguration() Each concrete subclass must define this member to create
a default configuration to be used when that subclass is
instantiated without a
FTPClientConfig FTPClientConfig parameter being specified. | public Calendar | parseTimestamp(String timestampStr) This method is called by the concrete parsers to delegate
timestamp parsing to the timestamp parser.
Parameters: timestampStr - the timestamp string pulled from the file listing by the regular expression parser, to be submittedto the timestampParser for extracting the timestamp. |
ConfigurableFTPFileEntryParserImpl | public ConfigurableFTPFileEntryParserImpl(String regex)(Code) | | Only constructor for this absract class.
Parameters: regex - Regular expression used main parsing of the file listing. |
configure | public void configure(FTPClientConfig config)(Code) | | Implementation of the
Configurable Configurable interface. Configures this parser by delegating to the
underlying Configurable FTPTimestampParser implementation, '
passing it the supplied
FTPClientConfig FTPClientConfig if that is non-null or a default configuration defined by
each concrete subclass.
Parameters: config - the configuration to be used to configure this parser.If it is null, a default configuration defined byeach concrete subclass is used instead. |
getDefaultConfiguration | abstract protected FTPClientConfig getDefaultConfiguration()(Code) | | Each concrete subclass must define this member to create
a default configuration to be used when that subclass is
instantiated without a
FTPClientConfig FTPClientConfig parameter being specified.
the default configuration for the subclass. |
parseTimestamp | public Calendar parseTimestamp(String timestampStr) throws ParseException(Code) | | This method is called by the concrete parsers to delegate
timestamp parsing to the timestamp parser.
Parameters: timestampStr - the timestamp string pulled from the file listing by the regular expression parser, to be submittedto the timestampParser for extracting the timestamp. a java.util.Calendar containing results of the timestamp parse. |
Fields inherited from org.apache.commons.net.ftp.parser.RegexFTPFileEntryParserImpl | protected PatternMatcher _matcher_(Code)(Java Doc)
|
|
|