public class OS400FileParser extends FTPFileParser
ignoreDateParseErrors
Constructor and Description |
---|
OS400FileParser() |
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
|
void |
setLocale(java.util.Locale locale)
Set the locale for date parsing of listings
|
java.lang.String |
toString() |
isMultiLine, setIgnoreDateParseErrors, split, split, split, trimStart
public void setLocale(java.util.Locale locale)
setLocale
in class FTPFileParser
locale
- locale to setpublic java.lang.String toString()
toString
in class java.lang.Object
public boolean isValidFormat(java.lang.String[] listing)
isValidFormat
in class FTPFileParser
listing
- listing to testpublic FTPFile parse(java.lang.String raw) throws DateParseException
FTPFileParser
parse
in class FTPFileParser
raw
- raw string to parseDateParseException
Copyright © 2001-2014 Enterprise Distributed Technologies Ltd. All Rights Reserved.