All Packages  Class Hierarchy  This Package  Previous  Next  Index  

Class java.io.ObjectInputStream.GetField

java.lang.Object
    |
    +----java.io.ObjectInputStream.GetField

public class ObjectInputStream.GetField
extends Object
Provide access to the persistent fields read from the input stream.


Method Index

 o defaulted(String)
Return true if the named field is defaulted and has no value in this stream.
 o get(String, boolean)
Get the value of the named boolean field from the persistent field.
 o get(String, byte)
Get the value of the named byte field from the persistent fields.
 o get(String, char)
Get the value of the named char field from the persistent fields.
 o get(String, double)
Get the value of the named double field from the persistent field.
 o get(String, float)
Get the value of the named float field from the persistent fields.
 o get(String, int)
Get the value of the named int field from the persistent fields.
 o get(String, long)
Get the value of the named long field from the persistent fields.
 o get(String, Object)
Get the value of the named Object field from the persistent field.
 o get(String, short)
Get the value of the named short field from the persistent fields.
 o getObjectStreamClass()
Get the ObjectStreamClass that describes the fields in the stream.

Methods

 o getObjectStreamClass
public ObjectStreamClass getObjectStreamClass()
Get the ObjectStreamClass that describes the fields in the stream.

 o defaulted
public boolean defaulted(String name) throws IOException, IllegalArgumentException
Return true if the named field is defaulted and has no value in this stream.

 o get
public boolean get(String name,
                   boolean defvalue) throws IOException, IllegalArgumentException
Get the value of the named boolean field from the persistent field.

 o get
public char get(String name,
                char defvalue) throws IOException, IllegalArgumentException
Get the value of the named char field from the persistent fields.

 o get
public byte get(String name,
                byte defvalue) throws IOException, IllegalArgumentException
Get the value of the named byte field from the persistent fields.

 o get
public short get(String name,
                 short defvalue) throws IOException, IllegalArgumentException
Get the value of the named short field from the persistent fields.

 o get
public int get(String name,
               int defvalue) throws IOException, IllegalArgumentException
Get the value of the named int field from the persistent fields.

 o get
public long get(String name,
                long defvalue) throws IOException, IllegalArgumentException
Get the value of the named long field from the persistent fields.

 o get
public float get(String name,
                 float defvalue) throws IOException, IllegalArgumentException
Get the value of the named float field from the persistent fields.

 o get
public double get(String name,
                  double defvalue) throws IOException, IllegalArgumentException
Get the value of the named double field from the persistent field.

 o get
public Object get(String name,
                  Object defvalue) throws IOException, IllegalArgumentException
Get the value of the named Object field from the persistent field.


All Packages  Class Hierarchy  This Package  Previous  Next  Index  

Submit a bug or feature