public static Class < ? > read ( ObjectInput in ) throws java . io . IOException { byte dim ; Class < ? > cl ; String name ; dim = in . readByte ( ) ; if ( dim == - 1 ) { return null ; } else { name = in . readUTF ( ) ; cl = classFind ( name ) ; if ( cl == null ) { throw new RuntimeException ( "can't load class " + name ) ; } while ( dim -- > 0 ) { cl = net . oneandone . sushi . util . Arrays . getArrayClass ( cl ) ; } return cl ; } }
Reads a class Object .