org.mule.impl
Class MuleMessageTestCase.StringDataSource

java.lang.Object
  extended by org.mule.impl.MuleMessageTestCase.StringDataSource
All Implemented Interfaces:
DataSource
Enclosing class:
MuleMessageTestCase

protected static class MuleMessageTestCase.StringDataSource
extends Object
implements DataSource


Field Summary
protected  String content
           
 
Constructor Summary
MuleMessageTestCase.StringDataSource(String payload)
           
 
Method Summary
 String getContentType()
           
 InputStream getInputStream()
           
 String getName()
           
 OutputStream getOutputStream()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

content

protected String content
Constructor Detail

MuleMessageTestCase.StringDataSource

public MuleMessageTestCase.StringDataSource(String payload)
Method Detail

getInputStream

public InputStream getInputStream()
                           throws IOException
Specified by:
getInputStream in interface DataSource
Throws:
IOException

getOutputStream

public OutputStream getOutputStream()
Specified by:
getOutputStream in interface DataSource

getContentType

public String getContentType()
Specified by:
getContentType in interface DataSource

getName

public String getName()
Specified by:
getName in interface DataSource


Copyright © 2003-2008 MuleSource, Inc.. All Rights Reserved.