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.
defaulted(String)
- Return true if the named field is defaulted and has no value
in this stream.
get(String, boolean)
- Get the value of the named boolean field from the persistent field.
get(String, byte)
- Get the value of the named byte field from the persistent fields.
get(String, char)
- Get the value of the named char field from the persistent fields.
get(String, double)
- Get the value of the named double field from the persistent field.
get(String, float)
- Get the value of the named float field from the persistent fields.
get(String, int)
- Get the value of the named int field from the persistent fields.
get(String, long)
- Get the value of the named long field from the persistent fields.
get(String, Object)
- Get the value of the named Object field from the persistent field.
get(String, short)
- Get the value of the named short field from the persistent fields.
getObjectStreamClass()
- Get the ObjectStreamClass that describes the fields in the stream.
getObjectStreamClass
public ObjectStreamClass getObjectStreamClass()
- Get the ObjectStreamClass that describes the fields in the stream.
defaulted
public boolean defaulted(String name) throws IOException, IllegalArgumentException
- Return true if the named field is defaulted and has no value
in this stream.
get
public boolean get(String name,
boolean defvalue) throws IOException, IllegalArgumentException
- Get the value of the named boolean field from the persistent field.
get
public char get(String name,
char defvalue) throws IOException, IllegalArgumentException
- Get the value of the named char field from the persistent fields.
get
public byte get(String name,
byte defvalue) throws IOException, IllegalArgumentException
- Get the value of the named byte field from the persistent fields.
get
public short get(String name,
short defvalue) throws IOException, IllegalArgumentException
- Get the value of the named short field from the persistent fields.
get
public int get(String name,
int defvalue) throws IOException, IllegalArgumentException
- Get the value of the named int field from the persistent fields.
get
public long get(String name,
long defvalue) throws IOException, IllegalArgumentException
- Get the value of the named long field from the persistent fields.
get
public float get(String name,
float defvalue) throws IOException, IllegalArgumentException
- Get the value of the named float field from the persistent fields.
get
public double get(String name,
double defvalue) throws IOException, IllegalArgumentException
- Get the value of the named double field from the persistent field.
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