Configurable
, FTPFileEntryParser
public class VMSVersioningFTPEntryParser extends VMSFTPEntryParser
FTPFileEntryParser (for usage instructions)
_matcher_
Constructor | 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 | 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 ..
|
configure, parseTimestamp
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getGroupCnt, getGroupsAsString, group, matches, setRegex, setRegex
getDefaultConfiguration, parseFileList, parseFTPEntry, readNextEntry
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 FTPFileEntryParser
preParse
in class FTPFileEntryParserImpl
original
- Original listprotected boolean isVersioning()
isVersioning
in class VMSFTPEntryParser