org.mentawai.core
Class Props

java.lang.Object
  extended by org.mentawai.core.Props

public class Props
extends Object


Field Summary
static String CHARSET
           
 
Constructor Summary
Props()
           
 
Method Summary
 String getAbsolutePath(String key)
           
 String[] getArray(String key)
           
 List<String[]> getArrays(String key)
           
 boolean getBoolean(String key)
           
 Class<? extends Object> getClass(String key)
           
 int getInt(String key)
           
 List<String> getList(String key)
           
 String getPath(String key)
           
 String getString(String key)
           
 boolean has(String key)
           
 void load(InputStream is)
           
 void loadDefault(InputStream is)
           
 void loadLocal(InputStream is)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CHARSET

public static String CHARSET
Constructor Detail

Props

public Props()
Method Detail

loadLocal

public void loadLocal(InputStream is)
               throws IOException
Throws:
IOException

loadDefault

public void loadDefault(InputStream is)
                 throws IOException
Throws:
IOException

load

public void load(InputStream is)
          throws IOException
Throws:
IOException

getString

public String getString(String key)

getInt

public int getInt(String key)

getBoolean

public boolean getBoolean(String key)

getList

public List<String> getList(String key)

has

public boolean has(String key)

getPath

public String getPath(String key)

getAbsolutePath

public String getAbsolutePath(String key)

getClass

public Class<? extends Object> getClass(String key)

getArray

public String[] getArray(String key)

getArrays

public List<String[]> getArrays(String key)


Copyright © 2013. All Rights Reserved.