org.genepattern.io.expr.stanford
Class StanfordTxtWriter

java.lang.Object
  extended byorg.genepattern.io.expr.stanford.StanfordTxtWriter
All Implemented Interfaces:
IExpressionDataWriter

public class StanfordTxtWriter
extends java.lang.Object
implements IExpressionDataWriter

Writes Stanford txt files.


Constructor Summary
StanfordTxtWriter()
           
 
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 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

StanfordTxtWriter

public StanfordTxtWriter()
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

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