public abstract class AbstractModelReader extends Object
| Constructor and Description |
|---|
AbstractModelReader(DataReader dataReader) |
AbstractModelReader(File f) |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
checkModelType() |
abstract AbstractModel |
constructModel() |
AbstractModel |
getModel() |
double |
readDouble()
Implement as needed for the format the model is stored in.
|
int |
readInt()
Implement as needed for the format the model is stored in.
|
String |
readUTF()
Implement as needed for the format the model is stored in.
|
public AbstractModelReader(File f) throws IOException
IOExceptionpublic AbstractModelReader(DataReader dataReader)
public int readInt()
throws IOException
IOExceptionpublic double readDouble()
throws IOException
IOExceptionpublic String readUTF() throws IOException
IOExceptionpublic AbstractModel getModel() throws IOException
IOExceptionpublic abstract void checkModelType()
throws IOException
IOExceptionpublic abstract AbstractModel constructModel() throws IOException
IOExceptionCopyright © 2017 The Apache Software Foundation. All rights reserved.