public class ResultsFactory
extends java.lang.Object
Results and the elements that comprise it such as
SequencingInfo.| Constructor and Description |
|---|
ResultsFactory() |
| Modifier and Type | Method and Description |
|---|---|
Results |
createResult(java.lang.String instanceIdentifier,
boolean completeResult,
boolean processingComplete)
This method creates a Results object.
|
SequencingInfo |
createSequencingInfo()
Creates a sequencing info object.
|
static ResultsFactory |
getInstance()
Deprecated.
|
Results |
getResults(byte[] marshalledBytes)
Recreate the Results object from a byte[].
|
Results |
getResults(FormatReader mFormat)
Recreate the Results object from a byte[].
|
SequencingInfo |
getSequencingInfo(FormatReader mFormat)
Creates a sequencing info from a set of bytes.
|
@Deprecated public static ResultsFactory getInstance()
public Results createResult(java.lang.String instanceIdentifier, boolean completeResult, boolean processingComplete)
instanceIdentifier - The instance identifier of the application instance.completeResult - Indicates whether this is a complete result or a partial one.processingComplete - Indicates whether the processing is complete.java.lang.NullPointerException - If the specified instance identifier is null.public Results getResults(byte[] marshalledBytes) throws FormatException
marshalledBytes - The byte[] representation of the Results.java.io.IOException - If there are problems recreating the object.MarshallingException - If there are problems recreating the object.FormatExceptionpublic Results getResults(FormatReader mFormat) throws FormatException
marshalledBytes - The byte[] representation of the Results.java.io.IOException - If there are problems recreating the object.MarshallingException - If there are problems recreating the object.FormatExceptionpublic SequencingInfo createSequencingInfo()
SequenceInfo objectpublic SequencingInfo getSequencingInfo(FormatReader mFormat) throws FormatException
marshalledBytes - SequenceInfo objectjava.io.IOException - If there are problems recreating the object.FormatException