16 package vrml.external.FreeWRLEAI;
20 class VFieldInputStream
extends DataInputStream {
22 VFieldInputStream(InputStream in) {
26 VField readField() throws IOException {
27 byte type = readByte();
32 return new VSFBool(
this);
34 return new VSFVec3f(
this);
35 case VField.SFROTATION:
36 return new VSFRotation(
this);
38 return new VSFString(
this);
40 return new VMFString(
this);
71 throw new UnsupportedFieldTypeException(
"type " + type);