public class GXLWriter
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static GXLWriter |
getWriter()
Returns an instance of the GXL Writer
|
void |
write(AnnotatedTypeGraph graph,
java.io.File file)
Writes an annotated type graph to a file
|
public static GXLWriter getWriter()
public void write(AnnotatedTypeGraph graph, java.io.File file) throws java.io.FileNotFoundException, java.io.IOException, java.io.UnsupportedEncodingException
graph
- The annotated type graph to be savedfile
- The file to which the graph is storedjava.io.FileNotFoundException
- thrown if a file was not foundjava.io.IOException
- thrown if an I/O error occurredjava.io.UnsupportedEncodingException
- thrown if the encoding isn't supported