public class VMSFileParser extends FTPFileParser
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
cvsId
Revision control id
|
ignoreDateParseErrors| Constructor and Description |
|---|
VMSFileParser()
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
int |
getBlocksize()
Get the VMS blocksize, used for calculating file
sizes
|
boolean |
isMultiLine()
Does this parser parse multiple lines to get one listing?
|
boolean |
isValidFormat(java.lang.String[] listing)
Valid format for this parser
|
boolean |
isVersionInName()
Get the property that controls whether or not the version
number is returned as part of the filename, e.g.
|
FTPFile |
parse(java.lang.String raw)
Parse server supplied string
OUTPUT:
|
void |
setBlocksize(int blocksize)
Set the VMS blocksize, used for calculating file
sizes.
|
void |
setLocale(java.util.Locale locale)
Set the locale for date parsing of listings
|
void |
setVersionInName(boolean versionInName)
Set the property that controls whether or not the version
number is returned as part of the filename, e.g.
|
java.lang.String |
toString() |
setIgnoreDateParseErrors, split, split, split, trimStartpublic boolean isMultiLine()
isMultiLine in class FTPFileParserpublic int getBlocksize()
public void setBlocksize(int blocksize)
blocksize - new blocksizepublic boolean isVersionInName()
public void setVersionInName(boolean versionInName)
versionInName - true if version to be returned as part of the filenamepublic java.lang.String toString()
toString in class java.lang.Objectpublic boolean isValidFormat(java.lang.String[] listing)
isValidFormat in class FTPFileParserlisting - public FTPFile parse(java.lang.String raw) throws java.text.ParseException
parse in class FTPFileParserraw - raw string to parsejava.text.ParseExceptionpublic void setLocale(java.util.Locale locale)
FTPFileParsersetLocale in class FTPFileParserlocale - locale to setCopyright © 2001-2014 Enterprise Distributed Technologies Ltd. All Rights Reserved.