org.jCharts.encoders
Class PNGEncoder
java.lang.Object
org.jCharts.encoders.PNGEncoder
public final class PNGEncoder
- extends Object
This class REQUIRES the jdk 1.4
Method Summary |
static void |
encode(Chart chart,
OutputStream outputStream)
Encodes the Chart to an OutputStream which can be a file or any other OutputStream
implementation. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PNG
private static final String PNG
- See Also:
- Constant Field Values
PNGEncoder
private PNGEncoder()
throws Exception
- Throws:
Exception
encode
public static final void encode(Chart chart,
OutputStream outputStream)
throws ChartDataException,
PropertyException,
IOException
- Encodes the Chart to an OutputStream which can be a file or any other OutputStream
implementation.
- Parameters:
chart
- outputStream
-
- Throws:
ChartDataException
PropertyException
IOException