com.bea.wli.sb.sources
Class SourceUtils
java.lang.Object
  
com.bea.wli.sb.sources.SourceUtils
public class SourceUtils
- extends Object
 
| 
Field Summary | 
static byte[] | 
CRLF
 
          Hard end-of-line | 
 
 
| 
Method Summary | 
static InputStream | 
getInputStream(Headers headers,
               Source content,
               TransformOptions options)
 
            | 
static InputStream | 
getInputStream(Source content,
               TransformOptions options,
               String contentTransferEncoding)
 
            | 
static TransformOptions | 
getMimeTransformOptions(TransformOptions options,
                        javax.mail.internet.ContentType contentType)
 
            | 
static TransformOptions | 
getMimeTransformOptions(TransformOptions options,
                        String contentType)
 
            | 
static void | 
writeTo(OutputStream out,
        Headers headers,
        Source content,
        TransformOptions options)
 
            | 
static void | 
writeTo(OutputStream out,
        Source content,
        TransformOptions options,
        String contentTransferEncoding)
 
            | 
 
 
CRLF
public static final byte[] CRLF
- Hard end-of-line
 
SourceUtils
public SourceUtils()
getInputStream
public static InputStream getInputStream(Headers headers,
                                         Source content,
                                         TransformOptions options)
                                  throws IOException,
                                         TransformException
- Throws:
 IOException
TransformException
 
getInputStream
public static InputStream getInputStream(Source content,
                                         TransformOptions options,
                                         String contentTransferEncoding)
                                  throws IOException,
                                         TransformException
- Throws:
 IOException
TransformException
 
writeTo
public static void writeTo(OutputStream out,
                           Headers headers,
                           Source content,
                           TransformOptions options)
                    throws IOException,
                           TransformException
- Throws:
 IOException
TransformException
 
writeTo
public static void writeTo(OutputStream out,
                           Source content,
                           TransformOptions options,
                           String contentTransferEncoding)
                    throws IOException,
                           TransformException
- Throws:
 IOException
TransformException
 
getMimeTransformOptions
public static TransformOptions getMimeTransformOptions(TransformOptions options,
                                                       String contentType)
 
getMimeTransformOptions
public static TransformOptions getMimeTransformOptions(TransformOptions options,
                                                       javax.mail.internet.ContentType contentType)