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
IOException
public AbstractModelReader(DataReader dataReader)
public int readInt() throws IOException
IOException
public double readDouble() throws IOException
IOException
public String readUTF() throws IOException
IOException
public AbstractModel getModel() throws IOException
IOException
public abstract void checkModelType() throws IOException
IOException
public abstract AbstractModel constructModel() throws IOException
IOException
Copyright © 2015 The Apache Software Foundation. All rights reserved.