org.n52.security.common.protocol.artifact
Class TransferableFactory

java.lang.Object
  extended byorg.n52.security.common.protocol.artifact.TransferableFactory

public class TransferableFactory
extends java.lang.Object

Tasks of Class TransferableFactory:

Author:
reiprecht

Method Summary
 Transferable createStreamTransferable(java.lang.String pContentType, java.io.InputStream pPayLoad, java.lang.String pCharset)
           
 Transferable createTextualTransferable(java.lang.String pContentType, java.lang.String pPayLoad, java.lang.String pTargetCharset)
           
static TransferableFactory getInstance()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static TransferableFactory getInstance()

createTextualTransferable

public Transferable createTextualTransferable(java.lang.String pContentType,
                                              java.lang.String pPayLoad,
                                              java.lang.String pTargetCharset)

createStreamTransferable

public Transferable createStreamTransferable(java.lang.String pContentType,
                                             java.io.InputStream pPayLoad,
                                             java.lang.String pCharset)
                                      throws java.io.IOException
Throws:
java.io.IOException


Copyright © 2004-2007 52 North. All Rights Reserved.