public class WindowsFileParser extends FTPFileParser
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
cvsId
Revision control id
|
ignoreDateParseErrors
Constructor and Description |
---|
WindowsFileParser()
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.
|
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 java.lang.String toString()
toString
in class java.lang.Object
public void setLocale(java.util.Locale locale)
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.