org.genepattern.io.expr.odf
Class OdfDatasetWriter

java.lang.Object
  extended byorg.genepattern.io.expr.odf.OdfDatasetWriter
All Implemented Interfaces:
IExpressionDataWriter

public class OdfDatasetWriter
extends java.lang.Object
implements IExpressionDataWriter

Writer for odf datasets


Constructor Summary
OdfDatasetWriter()
           
 
Method Summary
 java.lang.String checkFileExtension(java.lang.String filename)
          Appends the correct file extension to the pathname if it does not exist.
 java.lang.String getFormatName()
          Returns a String identifying the format that this writer encodes.
 void setPrependExecutionLog(boolean b)
           
 void write(IExpressionData expressionData, java.io.OutputStream os)
          Writes an IExpressionData instance to a stream.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OdfDatasetWriter

public OdfDatasetWriter()
Method Detail

checkFileExtension

public java.lang.String checkFileExtension(java.lang.String filename)
Description copied from interface: IExpressionDataWriter
Appends the correct file extension to the pathname if it does not exist.

Specified by:
checkFileExtension in interface IExpressionDataWriter
Parameters:
filename - a pathname string
Returns:
The corrected pathname

setPrependExecutionLog

public void setPrependExecutionLog(boolean b)

write

public void write(IExpressionData expressionData,
                  java.io.OutputStream os)
           throws java.io.IOException
Description copied from interface: IExpressionDataWriter
Writes an IExpressionData instance to a stream.

Specified by:
write in interface IExpressionDataWriter
Parameters:
expressionData - the data
os - the output stream
Throws:
java.io.IOException - if an I/O error occurs during writing.

getFormatName

public java.lang.String getFormatName()
Description copied from interface: IExpressionDataWriter
Returns a String identifying the format that this writer encodes.

Specified by:
getFormatName in interface IExpressionDataWriter
Returns:
the format name, as a String.


Hosted by docs.bugaco.com