Package org.teavm.classlib.java.util
Class TProperties
- All Implemented Interfaces:
TSerializable
,TCloneable
,TMap<Object,
Object>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected TProperties
The default values for keys not found in thisProperties
instance. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetProperty
(String name) getProperty
(String name, String defaultValue) void
list
(TPrintStream out) void
load
(TInputStream in) TEnumeration<?>
void
save
(OutputStream out, String comment) Deprecated.setProperty
(String name, String value) void
store
(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, values
Methods inherited from class org.teavm.classlib.java.lang.TObject
equals0, finalize, getClass0, notify0, notifyAll0, wait0, wait0, waitImpl
Methods 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 thisProperties
instance.
-
-
Constructor Details
-
TProperties
public TProperties() -
TProperties
-
-
Method Details
-
getProperty
-
getProperty
-
list
-
load
- Throws:
IOException
-
propertyNames
-
save
Deprecated. -
setProperty
-
store
- Throws:
IOException
-
stringPropertyNames
-