public interface VIZ extends BubuntuGraph
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getName()
Get the name of the graph.
|
void |
load(java.io.File file)
Load a graph from a file.
|
void |
load(java.io.InputStream in)
Load a graph from an input stream.
|
void |
load(java.lang.String file)
Load a graph from a file.
|
void |
save(java.io.File file)
Save a graph in a file.
|
void |
save(java.io.OutputStream out)
Save a graph into an output stream.
|
void |
save(java.io.PrintWriter out)
Save a graph into a PrintWriter object.
|
void |
save(java.lang.String file) |
void |
setName(java.lang.String name)
Set the name of the graph.
|
java.lang.String getName()
void load(java.io.File file) throws EGraphReadError, java.io.IOException
file
- The file to load.EGraphReadError
- If the graph cannot be loaded (incorrect graph type, malformed file, etc.)java.io.IOException
- If an I/O error occurs.void load(java.io.InputStream in) throws EGraphReadError
in
- The input stream to load.EGraphReadError
- If the graph cannot be loaded (incorrect graph type, malformed file, etc.).void load(java.lang.String file) throws EGraphReadError, java.io.IOException
file
- The file to load.EGraphReadError
- If the graph cannot be loaded (incorrect graph type, malformed file, etc.).java.io.IOException
- If an I/O error occurs.void save(java.io.File file) throws java.io.IOException
file
- The file where the graph is saved.java.io.IOException
- If an I/O error occurs.void save(java.io.OutputStream out)
out
- The output stream where the graph is saved.void save(java.io.PrintWriter out)
out
- The output stream where the graph is saved.void save(java.lang.String file) throws java.io.IOException
file
- The file where the graph is saved.java.io.IOException
- If an I/O error occurs.void setName(java.lang.String name)
name
- The name of the graph.