Class: java.io.ObjectInputStream.GetField
- public static abstract class ObjectInputStream.GetField
Provide access to the persistent fields read from the input stream.
Methods
-
ObjectInputStream.GetFieldtop
public ObjectInputStream.GetField() -
defaultedtop
public abstract boolean defaulted(String name) throws IOExceptionReturn true if the named field is defaulted and has no value in this stream. -
gettop
public abstract byte get(String name, byte val) throws IOExceptionGet the value of the named byte field from the persistent field. -
gettop
public abstract char get(String name, char val) throws IOExceptionGet the value of the named char field from the persistent field. -
gettop
public abstract double get(String name, double val) throws IOExceptionGet the value of the named double field from the persistent field. -
gettop
public abstract float get(String name, float val) throws IOExceptionGet the value of the named float field from the persistent field. -
gettop
public abstract int get(String name, int val) throws IOExceptionGet the value of the named int field from the persistent field. -
gettop
public abstract long get(String name, long val) throws IOExceptionGet the value of the named long field from the persistent field. -
gettop
Get the value of the named Object field from the persistent field. -
gettop
public abstract short get(String name, short val) throws IOExceptionGet the value of the named short field from the persistent field. -
gettop
public abstract boolean get(String name, boolean val) throws IOExceptionGet the value of the named boolean field from the persistent field. -
getObjectStreamClasstop
public abstract ObjectStreamClass getObjectStreamClass()Get the ObjectStreamClass that describes the fields in the stream.
