org.n52.security.common.artifact
Class TextualPayload

java.lang.Object
  extended by org.n52.security.common.artifact.TextualPayload
All Implemented Interfaces:
Payload

public class TextualPayload
extends Object
implements Payload


Constructor Summary
TextualPayload(InputStream pInputStream, String pCharsetName)
           
TextualPayload(String pContent, String pStreamCharset)
           
 
Method Summary
 InputStream getAsStream()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TextualPayload

public TextualPayload(InputStream pInputStream,
                      String pCharsetName)
               throws IOException
Throws:
IOException

TextualPayload

public TextualPayload(String pContent,
                      String pStreamCharset)
Method Detail

getAsStream

public InputStream getAsStream()
Specified by:
getAsStream in interface Payload

toString

public String toString()
Specified by:
toString in interface Payload
Overrides:
toString in class Object


Copyright © 2004–2013 52north.org. All rights reserved.