public abstract class PropertyTableBase extends Object implements BATManaged
| Modifier and Type | Field and Description |
|---|---|
protected List<Property> |
_properties |
| Constructor and Description |
|---|
PropertyTableBase(HeaderBlock header_block) |
PropertyTableBase(HeaderBlock header_block,
List<Property> properties)
Reading constructor (used when we've read in a file and we want
to extract the property table from it).
|
| Modifier and Type | Method and Description |
|---|---|
void |
addProperty(Property property)
Add a property to the list of properties we manage
|
RootProperty |
getRoot()
Get the root property
|
int |
getStartBlock()
Get the start block for the property table
|
void |
removeProperty(Property property)
Remove a property from the list of properties we manage
|
void |
setStartBlock(int index)
Set the start block for this instance
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcountBlockspublic PropertyTableBase(HeaderBlock header_block)
public PropertyTableBase(HeaderBlock header_block, List<Property> properties) throws IOException
header_block - the first block to read fromproperties - the list to populateIOException - if anything goes wrong (which should be
a result of the input being NFG)public void addProperty(Property property)
property - the new Property to managepublic void removeProperty(Property property)
property - the Property to be removedpublic RootProperty getRoot()
public int getStartBlock()
public void setStartBlock(int index)
setStartBlock in interface BATManagedindex - index into the array of BigBlock instances making
up the the filesystemCopyright © 2020. All rights reserved.