public GetField readFields ( ) throws IOException , ClassNotFoundException , NotActiveException { if ( currentObject == null ) { throw new NotActiveException ( ) ; } EmulatedFieldsForLoading result = new EmulatedFieldsForLoading ( currentClass ) ; readFieldValues ( result ) ; return result ; }
Reads the persistent fields of the object that is currently being read from the source stream . The values read are stored in a GetField object that provides access to the persistent fields . This GetField object is then returned .