|
edtFTPj | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.enterprisedt.net.ftp.FTPFileParser
com.enterprisedt.net.ftp.VMSFileParser
public class VMSFileParser
Represents a remote OpenVMS file parser. Thanks to Jason Schultz for contributing significantly to this class
Field Summary | |
---|---|
static String |
cvsId
Revision control id |
Constructor Summary | |
---|---|
VMSFileParser()
Constructor |
Method Summary | |
---|---|
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(String raw)
Parse server supplied string OUTPUT: |
void |
setBlocksize(int blocksize)
Set the VMS blocksize, used for calculating file sizes. |
void |
setLocale(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. |
Methods inherited from class com.enterprisedt.net.ftp.FTPFileParser |
---|
split, split, split |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static String cvsId
Constructor Detail |
---|
public VMSFileParser()
Method Detail |
---|
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(String raw) throws ParseException
parse
in class FTPFileParser
raw
- raw string to parse
ParseException
public void setLocale(Locale locale)
FTPFileParser
setLocale
in class FTPFileParser
locale
- locale to set
|
edtFTPj | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |