edtFTPj

com.enterprisedt.net.ftp
Class WindowsFileParser

java.lang.Object
  extended by com.enterprisedt.net.ftp.FTPFileParser
      extended by com.enterprisedt.net.ftp.WindowsFileParser

public class WindowsFileParser
extends FTPFileParser

Represents a remote Windows file parser

Version:
$Revision: 1.11 $
Author:
Bruce Blackshaw

Field Summary
static String cvsId
          Revision control id
 
Constructor Summary
WindowsFileParser()
          Constructor
 
Method Summary
 FTPFile parse(String raw)
          Parse server supplied string.
 void setLocale(Locale locale)
          Set the locale for date parsing of listings
 
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

cvsId

public static String cvsId
Revision control id

Constructor Detail

WindowsFileParser

public WindowsFileParser()
Constructor

Method Detail

setLocale

public void setLocale(Locale locale)
Set the locale for date parsing of listings

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

parse

public FTPFile parse(String raw)
              throws ParseException
Parse server supplied string. Should be in form 05-17-03 02:47PM 70776 ftp.jar 08-28-03 10:08PM EDT SSLTest

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

edtFTPj

Copyright © 2000-2007 Enterprise Distributed Technologies. All Rights Reserved.