public class InfoExchangeFileParser extends FTPFileParser
ignoreDateParseErrors
Constructor and Description |
---|
InfoExchangeFileParser()
Constructor
|
Modifier and Type | Method and Description |
---|---|
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
|
isMultiLine, setIgnoreDateParseErrors, split, split, split, trimStart
public void setLocale(java.util.Locale locale)
FTPFileParser
setLocale
in class FTPFileParser
locale
- locale to setpublic boolean isValidFormat(java.lang.String[] listing)
isValidFormat
in class FTPFileParser
listing
- public FTPFile parse(java.lang.String raw) throws java.text.ParseException
parse
in class FTPFileParser
raw
- raw string to parsejava.text.ParseException
Copyright © 2001-2014 Enterprise Distributed Technologies Ltd. All Rights Reserved.