|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.Dictionary<K,V>
java.util.Hashtable<java.lang.Object,java.lang.Object>
java.util.Properties
org.apache.derby.iapi.services.io.FormatableProperties
public class FormatableProperties
A formatable holder for a java.util.Properties. Used to avoid serializing Properties.
Field Summary |
---|
Fields inherited from class java.util.Properties |
---|
defaults |
Constructor Summary | |
---|---|
FormatableProperties()
Niladic constructor for formatable |
|
FormatableProperties(java.util.Properties defaults)
Creates an empty property list with the specified defaults. |
Method Summary | |
---|---|
void |
clearDefaults()
Clear the defaults from this Properties set. |
int |
getTypeFormatId()
Get the formatID which corresponds to this class. |
void |
readExternal(ArrayInputStream in)
|
void |
readExternal(java.io.ObjectInput in)
Read the properties from a stream of stored objects. |
void |
writeExternal(java.io.ObjectOutput out)
Write the properties out. |
Methods inherited from class java.util.Properties |
---|
getProperty, getProperty, list, list, load, load, loadFromXML, propertyNames, save, setProperty, store, store, storeToXML, storeToXML, stringPropertyNames |
Methods inherited from class java.util.Hashtable |
---|
clear, clone, contains, containsKey, containsValue, elements, entrySet, equals, get, hashCode, isEmpty, keys, keySet, put, putAll, rehash, remove, size, toString, values |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public FormatableProperties()
public FormatableProperties(java.util.Properties defaults)
defaults
- the defaultsMethod Detail |
---|
public void clearDefaults()
public void writeExternal(java.io.ObjectOutput out) throws java.io.IOException
writeExternal
in interface java.io.Externalizable
out
- write bytes here
java.io.IOException
- thrown on errorpublic void readExternal(java.io.ObjectInput in) throws java.io.IOException
readExternal
in interface java.io.Externalizable
in
- read this.
java.io.IOException
- thrown on errorpublic void readExternal(ArrayInputStream in) throws java.io.IOException
java.io.IOException
public int getTypeFormatId()
getTypeFormatId
in interface TypedFormat
|
Built on Thu 2010-12-23 20:49:13+0000, from revision ??? | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |