| java.lang.Object com.enterprisedt.net.ftp.FTPFileParser com.enterprisedt.net.ftp.VMSFileParser
VMSFileParser | public class VMSFileParser extends FTPFileParser (Code) | | Represents a remote OpenVMS file parser. Thanks to Jason Schultz for contributing
significantly to this class
author: Bruce Blackshaw version: $Revision: 1.5 $ |
Method Summary | |
public int | getBlocksize() | public boolean | isVersionInName() Get the property that controls whether or not the version
number is returned as part of the filename, e.g. | public FTPFile | parse(String raw) Parse server supplied string
OUTPUT:
Directory
used/allocated dd-MMM-yyyy HH:mm:ss [unknown] (PERMS)
used/allocated dd-MMM-yyyy HH:mm:ss [unknown] (PERMS)
... | public void | setBlocksize(int blocksize) Set the VMS blocksize, used for calculating file
sizes. | public void | setLocale(Locale locale) | public void | setVersionInName(boolean versionInName) Set the property that controls whether or not the version
number is returned as part of the filename, e.g. |
VMSFileParser | public VMSFileParser()(Code) | | Constructor
|
getBlocksize | public int getBlocksize()(Code) | | Get the VMS blocksize, used for calculating file
sizes
blocksize |
isVersionInName | public boolean isVersionInName()(Code) | | Get the property that controls whether or not the version
number is returned as part of the filename, e.g. FILENAME.TXT;2
would be returned as is if this property is true, or FILENAME.TXT
if it is false.
true if version to be returned as part of the filename |
parse | public FTPFile parse(String raw) throws ParseException(Code) | | Parse server supplied string
OUTPUT:
Directory
used/allocated dd-MMM-yyyy HH:mm:ss [unknown] (PERMS)
used/allocated dd-MMM-yyyy HH:mm:ss [unknown] (PERMS)
...
Total of <> files, <>/<> blocks
Parameters: raw - raw string to parse |
setBlocksize | public void setBlocksize(int blocksize)(Code) | | Set the VMS blocksize, used for calculating file
sizes. This might need to be changed if unexpected file
sizes are being returned for VMS files.
Parameters: blocksize - new blocksize |
setVersionInName | public void setVersionInName(boolean versionInName)(Code) | | Set the property that controls whether or not the version
number is returned as part of the filename, e.g. FILENAME.TXT;2
would be returned as is if this property is true, or FILENAME.TXT
if it is false.
Parameters: versionInName - true if version to be returned as part of the filename |
Fields inherited from com.enterprisedt.net.ftp.FTPFileParser | protected boolean ignoreDateParseErrors(Code)(Java Doc)
|
|
|