* (non-Javadoc)
*
* @see org.graphstream.stream.file.FileSource#readAll(java.io.InputStream)
*/
public void readAll(InputStream stream) throws IOException {
Parser parser = factory.newParser(new InputStreamReader(stream));
try {
parser.all();
parser.close();
} catch (ParseException e) {
throw new IOException(e);
}
}