PNGEncoder (jCharts-0.7.5 API)
Keywords: org.jCharts.encoders.PNGEncoder,PNGEncoder class

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

## org.jCharts.encoders
Class PNGEncoder

    java.lang.Object
      |
      +--org.jCharts.encoders.PNGEncoder

public final class PNGEncoder
extends java.lang.Object

This class REQUIRES the jdk 1.4

Field Summary
`private static java.lang.String` | `PNG`

Constructor Summary
`private` | `PNGEncoder()`

Method Summary
`static void` | `encode(Chart chart, java.io.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`

Field Detail

### PNG

    private static final java.lang.String PNG

See Also:
  Constant Field Values

Constructor Detail

### PNGEncoder

    private PNGEncoder()
                throws java.lang.Exception

Method Detail

### encode

    public static final void encode(Chart chart,
                                    java.io.OutputStream outputStream)
                             throws ChartDataException,
                                    PropertyException,
                                    java.io.IOException

  Encodes the Chart to an OutputStream which can be a file or any other OutputStream implementation.

  Parameters:
    `chart` -
    `outputStream` -
  Throws:
    `ChartDataException`
    `PropertyException`
    `java.io.IOException`

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