java.io
Class ObjectInputStream.GetField

java.lang.Object
  extended by java.io.ObjectInputStream.GetField
Enclosing class:
ObjectInputStream

public abstract static class ObjectInputStream.GetField
extends Object

This class allows a class to specify exactly which fields should be read, and what values should be read for these fields. XXX: finish up comments


Constructor Summary
ObjectInputStream.GetField()
           
 
Method Summary
abstract  boolean defaulted(String name)
           
abstract  boolean get(String name, boolean defvalue)
           
abstract  byte get(String name, byte defvalue)
           
abstract  char get(String name, char defvalue)
           
abstract  double get(String name, double defvalue)
           
abstract  float get(String name, float defvalue)
           
abstract  int get(String name, int defvalue)
           
abstract  long get(String name, long defvalue)
           
abstract  Object get(String name, Object defvalue)
           
abstract  short get(String name, short defvalue)
           
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()

defaulted

public abstract boolean defaulted(String name)
                           throws IOException,
                                  IllegalArgumentException
Throws:
IOException
IllegalArgumentException

get

public abstract boolean get(String name,
                            boolean defvalue)
                     throws IOException,
                            IllegalArgumentException
Throws:
IOException
IllegalArgumentException

get

public abstract char get(String name,
                         char defvalue)
                  throws IOException,
                         IllegalArgumentException
Throws:
IOException
IllegalArgumentException

get

public abstract byte get(String name,
                         byte defvalue)
                  throws IOException,
                         IllegalArgumentException
Throws:
IOException
IllegalArgumentException

get

public abstract short get(String name,
                          short defvalue)
                   throws IOException,
                          IllegalArgumentException
Throws:
IOException
IllegalArgumentException

get

public abstract int get(String name,
                        int defvalue)
                 throws IOException,
                        IllegalArgumentException
Throws:
IOException
IllegalArgumentException

get

public abstract long get(String name,
                         long defvalue)
                  throws IOException,
                         IllegalArgumentException
Throws:
IOException
IllegalArgumentException

get

public abstract float get(String name,
                          float defvalue)
                   throws IOException,
                          IllegalArgumentException
Throws:
IOException
IllegalArgumentException

get

public abstract double get(String name,
                           double defvalue)
                    throws IOException,
                           IllegalArgumentException
Throws:
IOException
IllegalArgumentException

get

public abstract Object get(String name,
                           Object defvalue)
                    throws IOException,
                           IllegalArgumentException
Throws:
IOException
IllegalArgumentException