com.enterprisedt.net.ftp.parser
Class InfoExchangeFileParser

java.lang.Object
  extended by com.enterprisedt.net.ftp.FTPFileParser
      extended by com.enterprisedt.net.ftp.parser.InfoExchangeFileParser

public class InfoExchangeFileParser
extends FTPFileParser

Parser for Information Exchange FTP Gateway

Version:
$Revision: 1.1 $
Author:
Bruce Blackshaw

Field Summary
 
Fields inherited from class com.enterprisedt.net.ftp.FTPFileParser
ignoreDateParseErrors
 
Constructor Summary
InfoExchangeFileParser()
          Constructor
 
Method Summary
 boolean isValidFormat(java.lang.String[] listing)
          Valid format for this parser
 FTPFile parse(java.lang.String raw)
          Parse server supplied string Filename (MSGKEY) Sender Class Size Date Time FFC58F453FF4AD3FE4E2._IE EDCA EDCAIE TE 0000381480 100218 182205 FFC58F1234544343333E2._IE EDCA EDCAIE TE 0000381480 100218 182205
 void setLocale(java.util.Locale locale)
          Set the locale for date parsing of listings
 
Methods inherited from class com.enterprisedt.net.ftp.FTPFileParser
isMultiLine, setIgnoreDateParseErrors, split, split, split, trimStart
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InfoExchangeFileParser

public InfoExchangeFileParser()
Constructor

Method Detail

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

isValidFormat

public boolean isValidFormat(java.lang.String[] listing)
Valid format for this parser

Overrides:
isValidFormat in class FTPFileParser
Parameters:
listing -
Returns:
true if valid

parse

public FTPFile parse(java.lang.String raw)
              throws java.text.ParseException
Parse server supplied string Filename (MSGKEY) Sender Class Size Date Time FFC58F453FF4AD3FE4E2._IE EDCA EDCAIE TE 0000381480 100218 182205 FFC58F1234544343333E2._IE EDCA EDCAIE TE 0000381480 100218 182205

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


Copyright © 2001-2011 Enterprise Distributed Technologies Ltd. All Rights Reserved.