Package net.handle.util
Class StreamTable
- java.lang.Object
-
- java.util.Dictionary<K,V>
-
- java.util.Hashtable
-
- net.handle.util.StreamTable
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Cloneable
,java.util.Map
,net.cnri.util.DeepClone
,DeepClone
,StreamObject
@Deprecated public class StreamTable extends java.util.Hashtable implements StreamObject, DeepClone
Deprecated.Replaced by net.cnri.util.StreamTable- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description StreamTable()
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description java.lang.Object
deepClone()
Deprecated.java.lang.Object
get(java.lang.Object key, java.lang.Object defaultVal)
Deprecated.boolean
getBoolean(java.lang.Object key)
Deprecated.boolean
getBoolean(java.lang.Object key, boolean defaultVal)
Deprecated.int
getInt(java.lang.Object key, int defaultVal)
Deprecated.long
getLong(java.lang.Object key, long defaultVal)
Deprecated.java.lang.String
getStr(java.lang.Object key)
Deprecated.java.lang.String
getStr(java.lang.Object key, java.lang.String defaultVal)
Deprecated.java.lang.String[]
getStringKeys()
Deprecated.Returns all of the keys to the hashtable that are java.lang.String objects.boolean
isStreamTable()
Deprecated.boolean
isStreamVector()
Deprecated.void
merge(java.util.Hashtable ht)
Deprecated.copy a (reference to) all values in this table to the specified table.void
put(java.lang.String key, boolean boolVal)
Deprecated.void
put(java.lang.String key, int intVal)
Deprecated.void
put(java.lang.String key, long longVal)
Deprecated.void
readFrom(java.io.InputStream in)
Deprecated.void
readFrom(java.io.Reader str)
Deprecated.void
readFrom(java.lang.String str)
Deprecated.void
readFromFile(java.io.File file)
Deprecated.void
readFromFile(java.lang.String fileName)
Deprecated.void
readTheRest(java.io.Reader str)
Deprecated.char
startingDelimiter()
Deprecated.java.lang.String
toString()
Deprecated.void
writeTo(java.io.Writer out)
Deprecated.void
writeToFile(java.io.File file)
Deprecated.void
writeToFile(java.lang.String fileName)
Deprecated.java.lang.String
writeToString()
Deprecated.-
Methods inherited from class java.util.Hashtable
clear, clone, compute, computeIfAbsent, computeIfPresent, contains, containsKey, containsValue, elements, entrySet, equals, forEach, get, getOrDefault, hashCode, isEmpty, keys, keySet, merge, put, putAll, putIfAbsent, rehash, remove, remove, replace, replace, replaceAll, size, values
-
-
-
-
Method Detail
-
isStreamTable
public boolean isStreamTable()
Deprecated.- Specified by:
isStreamTable
in interfaceStreamObject
-
isStreamVector
public boolean isStreamVector()
Deprecated.- Specified by:
isStreamVector
in interfaceStreamObject
-
startingDelimiter
public char startingDelimiter()
Deprecated.
-
merge
public void merge(java.util.Hashtable ht)
Deprecated.copy a (reference to) all values in this table to the specified table.
-
deepClone
public java.lang.Object deepClone()
Deprecated.- Specified by:
deepClone
in interfacenet.cnri.util.DeepClone
-
get
public java.lang.Object get(java.lang.Object key, java.lang.Object defaultVal)
Deprecated.
-
getStr
public java.lang.String getStr(java.lang.Object key, java.lang.String defaultVal)
Deprecated.
-
getStr
public java.lang.String getStr(java.lang.Object key)
Deprecated.
-
getBoolean
public boolean getBoolean(java.lang.Object key, boolean defaultVal)
Deprecated.
-
getBoolean
public boolean getBoolean(java.lang.Object key)
Deprecated.
-
getLong
public long getLong(java.lang.Object key, long defaultVal)
Deprecated.
-
getInt
public int getInt(java.lang.Object key, int defaultVal)
Deprecated.
-
readFrom
public void readFrom(java.io.InputStream in) throws StringEncodingException, java.io.IOException
Deprecated.- Throws:
StringEncodingException
java.io.IOException
-
readFrom
public void readFrom(java.lang.String str) throws StringEncodingException
Deprecated.- Specified by:
readFrom
in interfaceStreamObject
- Throws:
StringEncodingException
-
readFrom
public void readFrom(java.io.Reader str) throws StringEncodingException, java.io.IOException
Deprecated.- Specified by:
readFrom
in interfaceStreamObject
- Throws:
StringEncodingException
java.io.IOException
-
readFromFile
public void readFromFile(java.io.File file) throws StringEncodingException, java.io.IOException
Deprecated.- Throws:
StringEncodingException
java.io.IOException
-
getStringKeys
public java.lang.String[] getStringKeys()
Deprecated.Returns all of the keys to the hashtable that are java.lang.String objects.
-
readFromFile
public void readFromFile(java.lang.String fileName) throws StringEncodingException, java.io.IOException
Deprecated.- Throws:
StringEncodingException
java.io.IOException
-
writeToFile
public void writeToFile(java.lang.String fileName) throws StringEncodingException, java.io.IOException
Deprecated.- Throws:
StringEncodingException
java.io.IOException
-
writeToFile
public void writeToFile(java.io.File file) throws StringEncodingException, java.io.IOException
Deprecated.- Throws:
StringEncodingException
java.io.IOException
-
readTheRest
public void readTheRest(java.io.Reader str) throws StringEncodingException, java.io.IOException
Deprecated.- Specified by:
readTheRest
in interfaceStreamObject
- Throws:
StringEncodingException
java.io.IOException
-
put
public void put(java.lang.String key, boolean boolVal)
Deprecated.
-
put
public void put(java.lang.String key, int intVal)
Deprecated.
-
put
public void put(java.lang.String key, long longVal)
Deprecated.
-
toString
public java.lang.String toString()
Deprecated.- Overrides:
toString
in classjava.util.Hashtable
-
writeToString
public java.lang.String writeToString()
Deprecated.- Specified by:
writeToString
in interfaceStreamObject
-
writeTo
public void writeTo(java.io.Writer out) throws java.io.IOException
Deprecated.- Specified by:
writeTo
in interfaceStreamObject
- Throws:
java.io.IOException
-
-