Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## edu.uci.ics.jung.io
Interface GraphFile

All Known Implementing Classes:
  GraphMLFile, MatrixFile, PajekNetFile

public interface GraphFile

General interface for loading and saving a graph from/to disk

Author:
  Scott

Method Summary
`Graph` | `load(String filename)` Loads a graph from a file per the appropriate format
`void` | `save(Graph graph, String filename)` Save a graph to disk per the appropriate format

Method Detail

### load

    public Graph load(String filename)

  Loads a graph from a file per the appropriate format

  Parameters:
    `filename` - the location and name of the file
  Returns:
    the graph

### save

    public void save(Graph graph,
                     String filename)

  Save a graph to disk per the appropriate format

  Parameters:
    `graph` - the location and name of the file
    `filename` - the graph

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD