abbot.script.parsers
Interface Parser

All Known Implementing Classes:
ColorParser, FileParser, TreePathParser

public interface Parser

This interface provides a method for converting a String into some destination class type. This interface was designed as an extensible method of converting Strings into arbitrary target classes when parsing scripted arguments to methods. When a script is run and a method is resolved, the String arguments are converted to the classes required for the method invocation. Built-in conversions are provided for ComponentReferences and all the basic types, including arrays.

See Also:
ColorParser, FileParser, TreePathParser

Method Summary
 Object parse(String string)
           
 

Method Detail

parse

Object parse(String string)
             throws IllegalArgumentException
Throws:
IllegalArgumentException


Copyright © 2002-2008 Timothy Wall. All Rights Reserved.
Abbot is hosted on

SourceForge