de.vc.jfo.tools

## Class Base64ImageEncoder

- java.lang.Object
- - de.vc.jfo.tools.Base64ImageEncoder

-     public class Base64ImageEncoder
      extends java.lang.Object

  Utility class to convert a binary image stream to a base64 encoded string. This encoder pipes image through configured image transcoders if possible.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `Base64ImageEncoder(boolean dataSchemeHeader)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `java.lang.String` | `encode(java.io.InputStream image, ImageMetaData id)`
    `java.lang.String` | `getLastMimeType()`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### Base64ImageEncoder

          public Base64ImageEncoder(boolean dataSchemeHeader)

  - ### Method Detail

    - #### encode

          public java.lang.String encode(java.io.InputStream image,
                                ImageMetaData id)

    - #### getLastMimeType

          public java.lang.String getLastMimeType()

© 2003-2011 by Sascha Schmidt (vision-cloud.de). All Rights Reserved.