Build 1.0_r1(from source)

java.io
Class ObjectInputStream.GetField

java.lang.Object
  extended by java.io.ObjectInputStream.GetField
Direct Known Subclasses:
EmulatedFieldsForLoading
Enclosing class:
ObjectInputStream

public abstract static class ObjectInputStream.GetField
extends Object

Inner class to provide access to serializable fields


Constructor Summary
ObjectInputStream.GetField()
           
 
Method Summary
abstract  boolean defaulted(String name)
           
abstract  boolean get(String name, boolean defaultValue)
           
abstract  byte get(String name, byte defaultValue)
           
abstract  char get(String name, char defaultValue)
           
abstract  double get(String name, double defaultValue)
           
abstract  float get(String name, float defaultValue)
           
abstract  int get(String name, int defaultValue)
           
abstract  long get(String name, long defaultValue)
           
abstract  Object get(String name, Object defaultValue)
           
abstract  short get(String name, short defaultValue)
           
abstract  ObjectStreamClass getObjectStreamClass()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ObjectInputStream.GetField

public ObjectInputStream.GetField()
Method Detail

getObjectStreamClass

public abstract ObjectStreamClass getObjectStreamClass()
Returns:
ObjectStreamClass

defaulted

public abstract boolean defaulted(String name)
                           throws IOException,
                                  IllegalArgumentException
Parameters:
name -
Returns:
true if the default value is set, false otherwise
Throws:
IOException
IllegalArgumentException

get

public abstract boolean get(String name,
                            boolean defaultValue)
                     throws IOException,
                            IllegalArgumentException
Parameters:
name -
defaultValue -
Returns:
the value
Throws:
IOException
IllegalArgumentException

get

public abstract char get(String name,
                         char defaultValue)
                  throws IOException,
                         IllegalArgumentException
Parameters:
name -
defaultValue -
Returns:
the value
Throws:
IOException
IllegalArgumentException

get

public abstract byte get(String name,
                         byte defaultValue)
                  throws IOException,
                         IllegalArgumentException
Parameters:
name -
defaultValue -
Returns:
the value
Throws:
IOException
IllegalArgumentException

get

public abstract short get(String name,
                          short defaultValue)
                   throws IOException,
                          IllegalArgumentException
Parameters:
name -
defaultValue -
Returns:
the value
Throws:
IOException
IllegalArgumentException

get

public abstract int get(String name,
                        int defaultValue)
                 throws IOException,
                        IllegalArgumentException
Parameters:
name -
defaultValue -
Returns:
the value
Throws:
IOException
IllegalArgumentException

get

public abstract long get(String name,
                         long defaultValue)
                  throws IOException,
                         IllegalArgumentException
Parameters:
name -
defaultValue -
Returns:
the value
Throws:
IOException
IllegalArgumentException

get

public abstract float get(String name,
                          float defaultValue)
                   throws IOException,
                          IllegalArgumentException
Parameters:
name -
defaultValue -
Returns:
the value
Throws:
IOException
IllegalArgumentException

get

public abstract double get(String name,
                           double defaultValue)
                    throws IOException,
                           IllegalArgumentException
Parameters:
name -
defaultValue -
Returns:
the value
Throws:
IOException
IllegalArgumentException

get

public abstract Object get(String name,
                           Object defaultValue)
                    throws IOException,
                           IllegalArgumentException
Parameters:
name -
defaultValue -
Returns:
the value
Throws:
IOException
IllegalArgumentException

Build 1.0_r1(from source)

Please submit a feedback, bug or feature