org.jagatoo.input.localization.mappings
Class KeyLocalizationParser

java.lang.Object
  extended by org.jagatoo.input.localization.mappings.KeyLocalizationParser

public class KeyLocalizationParser
extends java.lang.Object

This class parses key/value pairs from a text-file for key-name-localizations.


Constructor Summary
KeyLocalizationParser()
           
 
Method Summary
static int parse(java.io.InputStream in, java.util.Map<java.lang.String,java.lang.String> map)
           
static int parse(java.net.URL resource, java.util.Map<java.lang.String,java.lang.String> map)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

KeyLocalizationParser

public KeyLocalizationParser()
Method Detail

parse

public static int parse(java.io.InputStream in,
                        java.util.Map<java.lang.String,java.lang.String> map)
                 throws java.io.IOException
Throws:
java.io.IOException

parse

public static int parse(java.net.URL resource,
                        java.util.Map<java.lang.String,java.lang.String> map)
                 throws java.io.IOException
Throws:
java.io.IOException