public abstract class ProfileFactory extends BaseEntityFactory<Profile>
Objects of this class should not be created directly as they are part of the internal logic.
| Constructor and Description |
|---|
ProfileFactory() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract Profile |
construct(Dataset dataSet,
int index,
BinaryReader reader)
Returns a new Profile object.
|
Profile |
create(Dataset dataSet,
int index,
BinaryReader reader)
Creates a new instance of Profile.
|
int |
getLength(Profile entity)
Returns the length of the Profile entity.
|
getLengthpublic Profile create(Dataset dataSet, int index, BinaryReader reader)
create in class BaseEntityFactory<Profile>dataSet - The data set whose profile list the profile is contained
within.index - The offset to the start of the profile within the profile
data structure.reader - Binary reader positioned at the start of the Profile.public int getLength(Profile entity) throws IOException
getLength in class BaseEntityFactory<Profile>entity - Entity of type.IOException - if there was a problem accessing data file.protected abstract Profile construct(Dataset dataSet, int index, BinaryReader reader)
dataSet - the data set whose profile list the profile is contained
within.index - the offset to the start of the profile within the profile
data structure.reader - Binary reader positioned at the start of the Profile.Copyright © 2017 51Degrees. All rights reserved.