public class IntegerEntityFactory extends BaseEntityFactory<IntegerEntity>
Objects of this class should not be created directly as they are part of the internal logic.
| Constructor and Description |
|---|
IntegerEntityFactory() |
| Modifier and Type | Method and Description |
|---|---|
IntegerEntity |
create(Dataset dataSet,
int index,
BinaryReader reader)
Creates a new instance of Integer.
|
int |
getLength()
Returns the length of the Integer entity.
|
getLengthpublic IntegerEntity create(Dataset dataSet, int index, BinaryReader reader) throws IOException
create in class BaseEntityFactory<IntegerEntity>dataSet - data set whose data structure includes integer values.index - to the start of the Integer within the data structure.reader - Binary reader positioned at the start of the Integer.IOException - if there was a problem accessing data file.public int getLength()
getLength in class BaseEntityFactory<IntegerEntity>Copyright © 2015 51Degrees. All rights reserved.