public class NetwareFileParser extends FTPFileParser
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
cvsId
Revision control id
|
ignoreDateParseErrors
Constructor and Description |
---|
NetwareFileParser()
Constructor
|
Modifier and Type | Method and Description |
---|---|
static boolean |
isNetware(java.lang.String raw)
Is this a Netware format listing?
|
boolean |
isValidFormat(java.lang.String[] listing)
Valid format for this parser
|
FTPFile |
parse(java.lang.String raw)
Parse server supplied string, e.g.:
d [RWCEAFMS] PhilliJb 512 May 10 2007 2007 Upgrade
- [RWCEAFMS] PhilliJb 700730 Jun 26 2008 xtag_manual_v1.5.pdf
|
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 static final java.lang.String cvsId
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
- public static boolean isNetware(java.lang.String raw)
raw
- raw listing linepublic 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.