intarsys runtime library

de.intarsys.tools.result
Class StringBasedResult

java.lang.Object
  extended by de.intarsys.tools.result.CommonResult
      extended by de.intarsys.tools.result.StreamResult
          extended by de.intarsys.tools.result.StringBasedResult
All Implemented Interfaces:
ILocatorSupport, IMimeTypeSupport, IResult, IStreamResult

public class StringBasedResult
extends StreamResult


Constructor Summary
StringBasedResult(String contentType, String string)
           
 
Method Summary
 ILocator getLocator()
          Return the ILocator that defines the physical resource location for the reciver.
 String getString()
           
 String toString()
           
 
Methods inherited from class de.intarsys.tools.result.StreamResult
getName, getType, setName, setType
 
Methods inherited from class de.intarsys.tools.result.CommonResult
getContentType
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface de.intarsys.tools.mime.IMimeTypeSupport
getContentType
 

Constructor Detail

StringBasedResult

public StringBasedResult(String contentType,
                         String string)
Method Detail

getLocator

public ILocator getLocator()
Description copied from interface: ILocatorSupport
Return the ILocator that defines the physical resource location for the reciver.

Returns:
Return the ILocator that defines the physical resource location for the reciver.

getString

public String getString()

toString

public String toString()
Overrides:
toString in class Object

intarsys runtime library

Copyright © 2008 intarsys consulting GmbH. All Rights Reserved.