Package play.utils
Class Properties
- All Implemented Interfaces:
Serializable,Cloneable,Map<String,String>
Like Java's Properties, but with: encoding generic type helper.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K extends Object,V extends Object>, AbstractMap.SimpleImmutableEntry<K extends Object, V extends Object> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondoubledoubleintintvoidload(InputStream is) voidload(InputStream is, String encoding) voidvoidvoidvoidstore(OutputStream out) voidstore(OutputStream out, String encoding) Methods inherited from class java.util.HashMap
clear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, get, getOrDefault, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, valuesMethods inherited from class java.util.AbstractMap
equals, hashCode, toString
-
Constructor Details
-
Properties
public Properties()
-
-
Method Details
-
load
- Throws:
IOException
-
load
- Throws:
IOException
-
get
-
store
- Throws:
IOException
-
store
- Throws:
IOException
-
getDouble
- Throws:
IllegalArgumentException
-
getDouble
- Throws:
IllegalArgumentException
-
setDouble
-
getInt
- Throws:
IllegalArgumentException
-
getInt
- Throws:
IllegalArgumentException
-
setInt
-
setLong
-