org.genepattern.io.expr.stanford
Class CdtParser
java.lang.Object
org.genepattern.io.expr.stanford.CdtParser
- All Implemented Interfaces:
- IExpressionDataParser
- public class CdtParser
- extends java.lang.Object
- implements IExpressionDataParser
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CdtParser
public CdtParser()
getGeneIds
public java.util.List getGeneIds()
getArrayIds
public java.lang.String[] getArrayIds()
setHandler
public void setHandler(IExpressionDataHandler handler)
- Description copied from interface:
IExpressionDataParser
- Sets the handler that will receive events
- Specified by:
setHandler in interface IExpressionDataParser
- Parameters:
handler - The new handler value
canDecode
public boolean canDecode(java.io.InputStream is)
throws java.io.IOException
- Description copied from interface:
IExpressionDataParser
- Returns
true if this parser can claims to be able to
decode the given stream upon brief examination, false
otherwise
- Specified by:
canDecode in interface IExpressionDataParser
- Parameters:
is - The input stream
- Returns:
- Whether this parser can decode the given stream
- Throws:
java.io.IOException - If an error occurs while reading from the stream
parse
public void parse(java.io.InputStream is)
throws java.io.IOException,
ParseException
- Description copied from interface:
IExpressionDataParser
- Parse a document. The application can use this method to instruct the
parser to begin parsing a document from any valid input source.
Applications may not invoke this method while a parse is in progress
(they should create a new parser instead). Once a parse is complete, an
application may reuse the same parser object, possibly with a different
input source. During the parse, the parser will provide information about
the document through the registered event handler. This method is
synchronous: it will not return until parsing has ended. If a client
application wants to terminate parsing early, it should throw an
exception.
- Specified by:
parse in interface IExpressionDataParser
- Parameters:
is - The input stream
- Throws:
java.io.IOException - -
An IO exception from the parser, possibly from a byte stream
or character stream supplied by the application.
ParseException - -
Any parse exception, possibly wrapping another exception.
getExpressionData
public ExpressionData getExpressionData()
|
|