|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.iris.Fissures.seed.mock.MockBEADImport
public class MockBEADImport
Mock application to simulate BEAD (blockette string) formatted input to a container entity from an external tool. The BEAD format is the tentative name for the delimited string representation for SEED blockettes supported by JavaSeed. This is theorized as an effective means of decoupled tool interchange and data persistence.
Method Summary | |
---|---|
static void |
close()
Signal the import consumer thread that we have completed our import of blockette strings. |
static MockBEADImport |
getInstance()
Generate and return a singleton instance of this class. |
static void |
importFrom(java.io.InputStream inStream)
Trigger import of blockette strings from the indicated input stream. |
static void |
importFrom(java.lang.String fileName)
Trigger import of blockette strings from the indicated file. |
static void |
main(java.lang.String[] args)
Just display a usage message here. |
static void |
push(java.lang.String BEADstr)
Push a single blockette string to the import consumer. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static MockBEADImport getInstance()
public static void importFrom(java.lang.String fileName)
fileName
- the file containing blockette strings.public static void importFrom(java.io.InputStream inStream)
inStream
- an instance of InputStream providing blockette strings.public static void push(java.lang.String BEADstr) throws SeedException
BEADstr
- a single blockette string
SeedException
public static void close() throws java.io.IOException, SeedException
java.io.IOException
SeedException
public static void main(java.lang.String[] args)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |