rice.p2p.util
Class XMLObjectOutputStream.PutField
java.lang.Object
java.io.ObjectOutputStream.PutField
rice.p2p.util.XMLObjectOutputStream.PutField
- Enclosing class:
- XMLObjectOutputStream
public class XMLObjectOutputStream.PutField
- extends ObjectOutputStream.PutField
This class is an implementation of PutField which is compatible with
the XMLObjectOutputStream. It works in the same manner as the
ObjectInputStream.PutField.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
primitives
protected Hashtable primitives
objects
protected Hashtable objects
XMLObjectOutputStream.PutField
public XMLObjectOutputStream.PutField()
getPrimitives
protected String[] getPrimitives()
getObjects
protected String[] getObjects()
put
public void put(String name,
boolean value)
- Specified by:
put in class ObjectOutputStream.PutField
put
public void put(String name,
byte value)
- Specified by:
put in class ObjectOutputStream.PutField
put
public void put(String name,
char value)
- Specified by:
put in class ObjectOutputStream.PutField
put
public void put(String name,
double value)
- Specified by:
put in class ObjectOutputStream.PutField
put
public void put(String name,
float value)
- Specified by:
put in class ObjectOutputStream.PutField
put
public void put(String name,
int value)
- Specified by:
put in class ObjectOutputStream.PutField
put
public void put(String name,
long value)
- Specified by:
put in class ObjectOutputStream.PutField
put
public void put(String name,
short value)
- Specified by:
put in class ObjectOutputStream.PutField
put
public void put(String name,
Object value)
- Specified by:
put in class ObjectOutputStream.PutField
getObject
protected Object getObject(String name)
getBoolean
protected boolean getBoolean(String name)
getByte
protected byte getByte(String name)
getChar
protected char getChar(String name)
getDouble
protected double getDouble(String name)
getFloat
protected float getFloat(String name)
getInt
protected int getInt(String name)
getLong
protected long getLong(String name)
getShort
protected short getShort(String name)
write
public void write(ObjectOutput output)
throws IOException
- Deprecated.
- only exists to satisfy deprecated method in superclass
- Specified by:
write in class ObjectOutputStream.PutField
- Throws:
IOException
Copyright © 2010. All Rights Reserved.