org.genepattern.io.expr.gct
Class GctWriter

java.lang.Object
  extended byorg.genepattern.io.expr.gct.GctWriter
All Implemented Interfaces:
IExpressionDataWriter

public class GctWriter
extends java.lang.Object
implements IExpressionDataWriter

Writes gct files.


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

GctWriter

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