public class VMSVersioningFTPEntryParser extends VMSFTPEntryParser
FTPFileEntryParser (for usage instructions)
_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() |
List<String> |
preParse(List<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, readNextEntry
configure, parseTimestamp
getGroupCnt, getGroupsAsString, group, matches, setRegex, setRegex
public VMSVersioningFTPEntryParser()
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.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 List<String> preParse(List<String> original)
preParse
in interface FTPFileEntryParser
preParse
in class FTPFileEntryParserImpl
original
- Original listprotected boolean isVersioning()
isVersioning
in class VMSFTPEntryParser
Copyright © 2001–2017 The Apache Software Foundation. All rights reserved.