cage.writer
Class NativeWritegraphWriter

java.lang.Object
  extended by cage.writer.CaGeWriter
      extended by cage.writer.NativeWritegraphWriter
All Implemented Interfaces:
CaGeOutlet

public class NativeWritegraphWriter
extends CaGeWriter


Constructor Summary
NativeWritegraphWriter()
           
 
Method Summary
 java.lang.String getFileExtension()
           
 java.lang.String getFormatName()
           
 void outputResult(CaGeResult result)
          Does the actual output of a result.
 void setOutputStream(java.io.OutputStream out)
           
 
Methods inherited from class cage.writer.CaGeWriter
getDimension, lastIOException, setDimension, setGeneratorInfo, stop, throwLastIOException, usesInfo, wasIOException
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NativeWritegraphWriter

public NativeWritegraphWriter()
Method Detail

getFormatName

public java.lang.String getFormatName()
Specified by:
getFormatName in class CaGeWriter

getFileExtension

public java.lang.String getFileExtension()
Specified by:
getFileExtension in class CaGeWriter

setOutputStream

public void setOutputStream(java.io.OutputStream out)
Overrides:
setOutputStream in class CaGeWriter

outputResult

public void outputResult(CaGeResult result)
Description copied from interface: CaGeOutlet
Does the actual output of a result. This method takes the graph, wrapped in a CaGeResult object, as input and performs the method of output specific to this outlet.

Parameters:
result - a CaGeResult object that needs to be outputted.