com.github.croesch.micro_debug.mic1.mem
Class IJVMConfigReader

java.lang.Object
  extended by com.github.croesch.micro_debug.mic1.mem.IJVMConfigReader

public final class IJVMConfigReader
extends Object

Reads the configuration file for the ijvm-code and can parse it.

Since:
Date: Jan 22, 2012
Author:
croesch

Constructor Summary
IJVMConfigReader()
           
 
Method Summary
 Map<Integer,IJVMCommand> readConfig(InputStream in)
          Tries to read configuration file from the given stream and returns the map with parsed entries.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IJVMConfigReader

public IJVMConfigReader()
Method Detail

readConfig

public Map<Integer,IJVMCommand> readConfig(InputStream in)
Tries to read configuration file from the given stream and returns the map with parsed entries. If an error occurs this map may be empty.

Parameters:
in - the InputStream to read the configuration from
Returns:
the Map that contains the memory addresses and the IJVMCommands for that addresses, fetched from the configuration file
in case of error this map might be empty
Since:
Date: Jan 22, 2012


Copyright © 2012. All Rights Reserved.