Package org.teavm.classlib.java.util
Class TProperties
java.lang.Object
- All Implemented Interfaces:
TSerializable,TCloneable,TMap<Object,Object>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected TPropertiesThe default values for keys not found in thisPropertiesinstance. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetProperty(String name) getProperty(String name, String defaultValue) voidlist(TPrintStream out) voidload(TInputStream in) TEnumeration<?> voidsave(OutputStream out, String comment) Deprecated.setProperty(String name, String value) voidstore(OutputStream out, String comments) Methods inherited from class org.teavm.classlib.java.util.THashtable
clear, clone, contains, containsKey, containsValue, elements, entrySet, equals, get, hashCode, isEmpty, keys, keySet, put, putAll, rehash, remove, size, toString, valuesMethods inherited from class org.teavm.classlib.java.lang.TObject
equals0, finalize, getClass0, notify0, notifyAll0, wait0, wait0, waitImplMethods inherited from interface org.teavm.classlib.java.util.TMap
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
-
Field Details
-
defaults
The default values for keys not found in thisPropertiesinstance.
-
-
Constructor Details
-
TProperties
public TProperties() -
TProperties
-
-
Method Details
-
getProperty
-
getProperty
-
list
-
load
- Throws:
IOException
-
propertyNames
-
save
Deprecated. -
setProperty
-
store
- Throws:
IOException
-
stringPropertyNames
-