com.github.croesch.micro_debug.parser
Class RegisterParser

java.lang.Object
  extended by com.github.croesch.micro_debug.parser.RegisterParser
All Implemented Interfaces:
IParser

public final class RegisterParser
extends java.lang.Object
implements IParser

Parses Registers from Strings.

Since:
Date: Feb 22, 2012
Author:
croesch

Constructor Summary
RegisterParser()
           
 
Method Summary
 Register parse(java.lang.String toParse)
          Parses the given String and returns an Object of the specific type.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RegisterParser

public RegisterParser()
Method Detail

parse

@Nullable
public Register 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.

Specified by:
parse in interface IParser
Parameters:
toParse - the String to convert to an Object.
Returns:
the Object read from the String,
or null if the input was invalid


Copyright © 2012. All Rights Reserved.