Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

ClassLib.Common.java.io
Class ObjectInputStream  view ObjectInputStream download ObjectInputStream.java

java.lang.Object
  extended byClassLib.Common.java.io.ObjectInputStream

public abstract class ObjectInputStream
extends java.lang.Object

ObjectInputStream

Version:
$Id: ObjectInputStream.java,v 1.10 2003/05/12 10:04:53 joewhaley Exp $

Constructor Summary
ObjectInputStream()
           
 
Method Summary
private static java.lang.Object allocateNewArray(java.lang.Class aclass, int length)
           
private static java.lang.Object allocateNewObject(java.lang.Class aclass, java.lang.Class initclass)
           
private static void bytesToDoubles(byte[] src, int srcpos, double[] dst, int dstpos, int ndoubles)
           
private static void bytesToFloats(byte[] src, int srcpos, float[] dst, int dstpos, int nfloats)
           
private static java.lang.ClassLoader latestUserDefinedLoader()
           
private static void setObjectFieldValue(java.lang.Object obj, long fieldID, java.lang.Class type, java.lang.Object val)
           
private static void setPrimitiveFieldValues(java.lang.Object obj, long[] fieldIDs, char[] typecodes, byte[] data)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ObjectInputStream

public ObjectInputStream()
Method Detail

latestUserDefinedLoader

private static java.lang.ClassLoader latestUserDefinedLoader()
                                                      throws java.lang.ClassNotFoundException

bytesToFloats

private static void bytesToFloats(byte[] src,
                                  int srcpos,
                                  float[] dst,
                                  int dstpos,
                                  int nfloats)

bytesToDoubles

private static void bytesToDoubles(byte[] src,
                                   int srcpos,
                                   double[] dst,
                                   int dstpos,
                                   int ndoubles)

setPrimitiveFieldValues

private static void setPrimitiveFieldValues(java.lang.Object obj,
                                            long[] fieldIDs,
                                            char[] typecodes,
                                            byte[] data)

setObjectFieldValue

private static void setObjectFieldValue(java.lang.Object obj,
                                        long fieldID,
                                        java.lang.Class type,
                                        java.lang.Object val)

allocateNewObject

private static java.lang.Object allocateNewObject(java.lang.Class aclass,
                                                  java.lang.Class initclass)
                                           throws java.lang.InstantiationException,
                                                  java.lang.IllegalAccessException

allocateNewArray

private static java.lang.Object allocateNewArray(java.lang.Class aclass,
                                                 int length)
                                          throws java.lang.NegativeArraySizeException,
                                                 java.lang.IllegalArgumentException