public class VMSVersioningFTPEntryParser extends VMSFTPEntryParser
This is a sample of VMS LIST output
"1-JUN.LIS;1 9/9 2-JUN-1998 07:32:04 [GROUP,OWNER] (RWED,RWED,RWED,RE)", "1-JUN.LIS;2 9/9 2-JUN-1998 07:32:04 [GROUP,OWNER] (RWED,RWED,RWED,RE)", "DATA.DIR;1 1/9 2-JUN-1998 07:32:04 [GROUP,OWNER] (RWED,RWED,RWED,RE)",
_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.protected boolean isVersioning()
isVersioning
in class VMSFTPEntryParser
public List<String> preParse(List<String> original)
preParse
in interface FTPFileEntryParser
preParse
in class FTPFileEntryParserImpl
original
- Original listCopyright © 2001–2022 The Apache Software Foundation. All rights reserved.