Home » openjdk-7 » java » io » [javadoc | source]
java.io
abstract public static class: ObjectInputStream.GetField [javadoc | source]
java.lang.Object
   java.io.ObjectInputStream$GetField

Direct Known Subclasses:
    EmulatedFieldsForLoading, GetFieldImpl

Provide access to the persistent fields read from the input stream.
Method from java.io.ObjectInputStream$GetField Summary:
defaulted,   get,   get,   get,   get,   get,   get,   get,   get,   get,   getObjectStreamClass
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from java.io.ObjectInputStream$GetField Detail:
 abstract public boolean defaulted(String name) throws IOException
    Return true if the named field is defaulted and has no value in this stream.
 abstract public boolean get(String name,
    boolean val) throws IOException
    Get the value of the named boolean field from the persistent field.
 abstract public byte get(String name,
    byte val) throws IOException
    Get the value of the named byte field from the persistent field.
 abstract public char get(String name,
    char val) throws IOException
    Get the value of the named char field from the persistent field.
 abstract public short get(String name,
    short val) throws IOException
    Get the value of the named short field from the persistent field.
 abstract public int get(String name,
    int val) throws IOException
    Get the value of the named int field from the persistent field.
 abstract public long get(String name,
    long val) throws IOException
    Get the value of the named long field from the persistent field.
 abstract public float get(String name,
    float val) throws IOException
    Get the value of the named float field from the persistent field.
 abstract public double get(String name,
    double val) throws IOException
    Get the value of the named double field from the persistent field.
 abstract public Object get(String name,
    Object val) throws IOException
    Get the value of the named Object field from the persistent field.
 abstract public ObjectStreamClass getObjectStreamClass()
    Get the ObjectStreamClass that describes the fields in the stream.