ObjectInputStream.GetField

public static abstract class ObjectInputStream.GetField extends Object

GetField is an inner class that provides access to the persistent fields read from the source stream.

Public Constructor Summary

Public Method Summary

abstract boolean
defaulted(String name)
Indicates if the field identified by name is defaulted.
abstract boolean
get(String name, boolean defaultValue)
Gets the value of the boolean field identified by name from the persistent field.
abstract byte
get(String name, byte defaultValue)
Gets the value of the byte field identified by name from the persistent field.
abstract short
get(String name, short defaultValue)
Gets the value of the short field identified by name from the persistent field.
abstract char
get(String name, char defaultValue)
Gets the value of the character field identified by name from the persistent field.
abstract int
get(String name, int defaultValue)
Gets the value of the integer field identified by name from the persistent field.
abstract float
get(String name, float defaultValue)
Gets the value of the float field identified by name from the persistent field.
abstract double
get(String name, double defaultValue)
Gets the value of the double