src/main/java/com/mxgraph/reader/mxGraphViewImageReader.java
public static BufferedImage convert(String filename,
			mxGraphViewImageReader viewReader)
			throws ParserConfigurationException, SAXException, IOException
	{
		return convert(new InputSource(new FileInputStream(filename)),
				viewReader);
	}
/**
	 * Creates the image for the given display XML file. (Note: The XML file is
	 * an encoded mxGraphView, not mxGraphModel.)
	 * 
	 * @param filename
	 *            Filename of the display XML file.
	 * @return Returns an image representing the display XML file.
	 */
Creates the image for the given display XML file. (Note: The XML file is
an encoded mxGraphView, not mxGraphModel.)

@param filename
Filename of the display XML file.
@return Returns an image representing the display XML file.
Creates the image for the given display XML file . ( Note : The XML file is an encoded mxGraphView not mxGraphModel . ) @param filename Filename of the display XML file . @return Returns an image representing the display XML file .
public static BufferedImage convert(String filename,
			mxGraphViewImageReader viewReader)
			throws ParserConfigurationException, SAXException, IOException
	{
		return convert(new InputSource(new FileInputStream(filename)),
				viewReader);
	}
public static BufferedImage convert ( String filename , mxGraphViewImageReader viewReader ) throws ParserConfigurationException , SAXException , IOException { return convert ( new InputSource ( new FileInputStream ( filename ) ) , viewReader ) ; }
Creates the image for the given display XML file.
Creates the image for the given display XML file .