|
|||||||||
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.SeedMMAPImportBuilder
public class SeedMMAPImportBuilder
Concrete builder class for SEED Objects, specifically for creating memory mapped references to the imported file. Registers itself to a concrete Import Director. Creates and writes to a SeedVolumeMMAPContainer.
Field Summary | |
---|---|
protected Blockette |
prevBlockette
|
Fields inherited from class edu.iris.Fissures.seed.builder.ObjectBuilder |
---|
buildContainer, builderType, buildFilterVector, continuationFlag, currentObject, largeCoeffFlag, recordBeginFlag, recordType, volumeNumber |
Constructor Summary | |
---|---|
SeedMMAPImportBuilder()
Create a SEED object builder. |
|
SeedMMAPImportBuilder(java.lang.String journalFile)
Create a SEED Object Builder with reference to the indicated journal backing file |
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 |
reset()
Reset the builder to its initial state. |
int |
store()
Store created SEED object to the SEED MMAP object container. |
Methods inherited from class edu.iris.Fissures.seed.builder.ObjectBuilder |
---|
getContainer, getObject, getType, getVolume, incrementVolume, 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 prevBlockette
Constructor Detail |
---|
public SeedMMAPImportBuilder()
public SeedMMAPImportBuilder(java.lang.String journalFile) throws BuilderException
BuilderException
Method Detail |
---|
public int build(byte[] nextRecord) throws java.lang.Exception
build
in class ObjectBuilder
java.lang.Exception
public int build(java.lang.String blocketteSpec) throws java.lang.Exception
build
in class ObjectBuilder
java.lang.Exception
public int store() throws java.lang.Exception
store
in class ObjectBuilder
java.lang.Exception
public void reset()
reset
in class ObjectBuilder
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |