Class PovrayWriter
java.lang.Object
org.graffiti.plugin.io.AbstractOutputSerializer
de.ipk_gatersleben.ag_nw.graffiti.plugins.ios.exporters.pajek.PovrayWriter
- All Implemented Interfaces:
OutputSerializer
,Serializer
public class PovrayWriter extends AbstractOutputSerializer
-
Constructor Summary
Constructors Constructor Description PovrayWriter()
-
Method Summary
Modifier and Type Method Description String[]
getExtensions()
The file extensions the serializer can read or write.String[]
getFileTypeDescriptions()
The file type descriptions of the files the serializer can read or write.boolean
validFor(Graph g)
As standard, an output serializer will be valid writer for any type of graphvoid
write(OutputStream out, Graph g)
Writes the contents of the given graph to a stream.Methods inherited from class org.graffiti.plugin.io.AbstractOutputSerializer
write
-
Constructor Details
-
PovrayWriter
public PovrayWriter()
-
-
Method Details
-
validFor
Description copied from class:AbstractOutputSerializer
As standard, an output serializer will be valid writer for any type of graph- Specified by:
validFor
in interfaceOutputSerializer
- Overrides:
validFor
in classAbstractOutputSerializer
- Parameters:
g
- The graph to be serialized- Returns:
-
write
Description copied from interface:OutputSerializer
Writes the contents of the given graph to a stream.- Parameters:
out
- The output stream to save the graph to.g
- The graph to save.- Throws:
IOException
-
getExtensions
Description copied from interface:Serializer
The file extensions the serializer can read or write.- Returns:
- DOCUMENT ME!
-
getFileTypeDescriptions
Description copied from interface:Serializer
The file type descriptions of the files the serializer can read or write.- Returns:
- DOCUMENT ME!
-