public class VMSFileParser extends FTPFileParser
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
cvsId
Revision control id
|
Constructor and Description |
---|
VMSFileParser()
Constructor
|
Modifier and Type | Method and Description |
---|---|
int |
getBlocksize()
Get the VMS blocksize, used for calculating file
sizes
|
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.
|
setIgnoreDateParseErrors
public 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 FTPFile parse(java.lang.String raw) throws java.text.ParseException
parse
in class FTPFileParser
raw
- raw string to parsejava.text.ParseException
public void setLocale(java.util.Locale locale)
FTPFileParser
setLocale
in class FTPFileParser
locale
- locale to set