com.martiansoftware.jsap.stringparsers
Class StringStringParser
java.lang.Object
com.martiansoftware.jsap.StringParser
com.martiansoftware.jsap.stringparsers.StringStringParser
- public class StringStringParser
- extends StringParser
A StringParser for parsing Strings. This is the simplest possible
StringParser, simply returning
the specified argument in all cases. This class never throws a
ParseException under any circumstances.
- Author:
- Marty Lamb
- See Also:
StringParser
,
String
StringStringParser
public StringStringParser()
- Creates a new StringStringParser.
parse
public Object parse(String arg)
throws ParseException
- Returns the specified argument as a String.
- Specified by:
parse
in class StringParser
- Parameters:
arg
- the argument to parse
- Returns:
- the specified argument as a String.
- Throws:
ParseException
- NEVER- See Also:
String
,
StringParser.parse(String)
Copyright © 2002-2004, Martian Software, Inc.. All Rights Reserved.
For the latest version and documentation, please visit http://www.martiansoftware.com/jsap