|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectedu.iris.Fissures.seed.builder.ObjectBuilder
edu.iris.Fissures.seed.builder.SeedObjectBuilder
public class SeedObjectBuilder
Concrete builder class for SEED Objects. Registers itself to a concrete Import Director. Creates and writes to a SeedObjectContainer. Optionally implements serialization to disk to conserve memory usage.
| Field Summary | |
|---|---|
protected Blockette |
recycleBlockette
|
| Fields inherited from class edu.iris.Fissures.seed.builder.ObjectBuilder |
|---|
buildContainer, builderType, buildFilterVector, continuationFlag, currentObject, largeCoeffFlag, recordBeginFlag, recordType, volumeNumber |
| Constructor Summary | |
|---|---|
SeedObjectBuilder()
Create a SEED object builder. |
|
SeedObjectBuilder(java.lang.String diskFile)
Create a SEED Object Builder with serialization to indicated filename. |
|
| Method Summary | |
|---|---|
int |
build(byte[] nextRecord)
Construct a Blockette object by reading from the start of the indicated byte array. |
int |
build(java.lang.String blocketteSpec)
Construct a Blockette object from the delimited String. |
void |
dictionaryLookupMutation(boolean b)
|
protected int |
getSequenceNum(int headerCode)
DEPRECATED Return a six-digit sequence number based on the header code (category number) of the current blockette object. |
void |
incrementVolume()
Increment the volume number when a new data stream is being read in. |
void |
reset()
Reset the builder to its initial state. |
int |
store()
Store created SEED object to the SEED object container. |
| Methods inherited from class edu.iris.Fissures.seed.builder.ObjectBuilder |
|---|
getContainer, getObject, getType, getVolume, registerFilter, removeCurrent, setContinuationFlag, setLargeCoeffFlag, setRecordBeginFlag, setRecordType, setVolume, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected Blockette recycleBlockette
| Constructor Detail |
|---|
public SeedObjectBuilder()
public SeedObjectBuilder(java.lang.String diskFile)
throws BuilderException
BuilderException| Method Detail |
|---|
public int build(byte[] nextRecord)
throws java.lang.Exception
build in class ObjectBuilderjava.lang.Exception
public int build(java.lang.String blocketteSpec)
throws java.lang.Exception
build in class ObjectBuilderjava.lang.Exception
public int store()
throws java.lang.Exception
store in class ObjectBuilderjava.lang.Exceptionpublic void reset()
reset in class ObjectBuilderpublic void incrementVolume()
incrementVolume in class ObjectBuilderpublic void dictionaryLookupMutation(boolean b)
protected int getSequenceNum(int headerCode)
throws BuilderException
BuilderException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||