com.github.croesch.micro_debug.parser
Interface IParser

All Known Implementing Classes:
IntegerParser, RegisterParser

public interface IParser

Parses Strings to Objects.

Since:
Date: Feb 22, 2012
Author:
croesch

Method Summary
 java.lang.Object parse(java.lang.String toParse)
          Parses the given String and returns an Object of the specific type.
 

Method Detail

parse

@Nullable
java.lang.Object parse(java.lang.String toParse)
Parses the given String and returns an Object of the specific type. If the input cannot be parsed into a valid object, than it will return null.

Parameters:
toParse - the String to convert to an Object.
Returns:
the Object read from the String,
or null if the input was invalid
Since:
Date: Feb 22, 2012


Copyright © 2012. All Rights Reserved.