Package com.enterprisedt.net.ftp
Class NetwareFileParser
java.lang.Object
com.enterprisedt.net.ftp.FTPFileParser
com.enterprisedt.net.ftp.NetwareFileParser
Represents a remote Netware file parser
- Version:
- $Revision$
- Author:
- Bruce Blackshaw
-
Field Summary
FieldsFields inherited from class com.enterprisedt.net.ftp.FTPFileParser
ignoreDateParseErrors -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic booleanIs this a Netware format listing?booleanisValidFormat(String[] listing) Valid format for this parserParse server supplied string, e.g.: d [RWCEAFMS] PhilliJb 512 May 10 2007 2007 Upgrade - [RWCEAFMS] PhilliJb 700730 Jun 26 2008 xtag_manual_v1.5.pdfvoidSet the locale for date parsing of listingstoString()Methods inherited from class com.enterprisedt.net.ftp.FTPFileParser
isMultiLine, setIgnoreDateParseErrors, split, split, split, trimStart
-
Field Details
-
cvsId
Revision control id- See Also:
-
-
Constructor Details
-
NetwareFileParser
public NetwareFileParser()Constructor
-
-
Method Details
-
setLocale
Set the locale for date parsing of listings- Specified by:
setLocalein classFTPFileParser- Parameters:
locale- locale to set
-
toString
-
isValidFormat
Valid format for this parser- Overrides:
isValidFormatin classFTPFileParser- Parameters:
listing-- Returns:
- true if valid
-
isNetware
Is this a Netware format listing?- Parameters:
raw- raw listing line- Returns:
- true if Netware, false otherwise
-
parse
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- Specified by:
parsein classFTPFileParser- Parameters:
raw- raw string to parse- Throws:
ParseException
-