com.openexchange.mail.structure
Class Base64JSONString

java.lang.Object
  extended by com.openexchange.mail.structure.Base64JSONString
All Implemented Interfaces:
org.json.JSONString

public final class Base64JSONString
extends java.lang.Object
implements org.json.JSONString

Base64JSONString - A JSON string for one-time-retrieval of an input stream's base64-encoded bytes.

Author:
Thorben Betten

Constructor Summary
Base64JSONString(java.io.InputStream in)
          Initializes a new Base64JSONString.
 
Method Summary
 java.lang.String toJSONString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Base64JSONString

public Base64JSONString(java.io.InputStream in)
                 throws MailException
Initializes a new Base64JSONString.

Throws:
MailException - If initialization fails
Method Detail

toJSONString

public java.lang.String toJSONString()
Specified by:
toJSONString in interface org.json.JSONString