N
- node value typeE
- edge value typepublic interface GraphReader<N,E>
Graph<N,E> read(File file) throws IOException
file
- file to read from, must not be nullIOException
- if an IO error occursGraph<N,E> read(InputStream inputStream) throws IOException
inputStream
- input stream to read from, must not be nullIOException
- if an IO error occursGraph<N,E> read(URL url) throws IOException
url
- URL to read from, must not be nullIOException
- if an IO error occursCopyright (c) 2008-2013 held jointly by the individual authors. Licensed under the GNU Lesser General Public License (LGPL).