public class VMSVersioningFTPEntryParser extends VMSFTPEntryParser
FTPFileEntryParser (for usage instructions)| Modifier and Type | Field and Description |
|---|---|
private java.util.regex.Pattern |
_preparse_pattern_ |
private static java.lang.String |
PRE_PARSE_REGEX |
_matcher_| Constructor and Description |
|---|
VMSVersioningFTPEntryParser()
Constructor for a VMSFTPEntryParser object.
|
VMSVersioningFTPEntryParser(FTPClientConfig config)
This constructor allows the creation of a VMSVersioningFTPEntryParser
object with something other than the default configuration.
|
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
isVersioning() |
java.util.List<java.lang.String> |
preParse(java.util.List<java.lang.String> original)
Implement hook provided for those implementers (such as
VMSVersioningFTPEntryParser, and possibly others) which return
multiple files with the same name to remove the duplicates ..
|
getDefaultConfiguration, parseFileList, parseFTPEntry, readNextEntryconfigure, parseTimestampgetGroupCnt, getGroupsAsString, group, matches, setRegex, setRegexprivate final java.util.regex.Pattern _preparse_pattern_
private static final java.lang.String PRE_PARSE_REGEX
public VMSVersioningFTPEntryParser()
java.lang.IllegalArgumentException - Thrown if the regular expression is unparseable. Should not be seen
under normal conditions. It it is seen, this is a sign that
REGEX is not a valid regular expression.public VMSVersioningFTPEntryParser(FTPClientConfig config)
config - The configuration object used to
configure this parser.java.lang.IllegalArgumentException - Thrown if the regular expression is unparseable. Should not be seen
under normal conditions. It it is seen, this is a sign that
REGEX is not a valid regular expression.public java.util.List<java.lang.String> preParse(java.util.List<java.lang.String> original)
preParse in interface FTPFileEntryParserpreParse in class FTPFileEntryParserImploriginal - Original listprotected boolean isVersioning()
isVersioning in class VMSFTPEntryParser