com.enterprisedt.net.ftp
Class VMSFileParser

java.lang.Object
  extended bycom.enterprisedt.net.ftp.FTPFileParser
      extended bycom.enterprisedt.net.ftp.VMSFileParser

public class VMSFileParser
extends FTPFileParser

Represents a remote OpenVMS file parser. Thanks to Jason Schultz for contributing significantly to this class

Version:
$Revision: 1.1 $
Author:
Bruce Blackshaw

Field Summary
static java.lang.String cvsId
          Revision control id
 
Constructor Summary
VMSFileParser()
          Constructor
 
Method Summary
 FTPFile parse(java.lang.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) ...
 void setLocale(java.util.Locale locale)
          Set the locale for date parsing of listings
 
Methods inherited from class com.enterprisedt.net.ftp.FTPFileParser
split
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

cvsId

public static java.lang.String cvsId
Revision control id

Constructor Detail

VMSFileParser

public VMSFileParser()
Constructor

Method Detail

parse

public FTPFile parse(java.lang.String raw)
              throws java.text.ParseException
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

Specified by:
parse in class FTPFileParser
Parameters:
raw - raw string to parse
Throws:
java.text.ParseException

setLocale

public void setLocale(java.util.Locale locale)
Description copied from class: FTPFileParser
Set the locale for date parsing of listings

Specified by:
setLocale in class FTPFileParser
Parameters:
locale - locale to set


Copyright (c) 2001-2004 Enterprise Distributed Technologies Ltd. All Rights Reserved.