Package de.intarsys.tools.result
Class StringBasedResult
- java.lang.Object
-
- de.intarsys.tools.result.CommonResult
-
- de.intarsys.tools.result.StreamResult
-
- de.intarsys.tools.result.StringBasedResult
-
- All Implemented Interfaces:
ILocatorSupport,IMimeTypeSupport,IResult,IStreamResult
public class StringBasedResult extends StreamResult
-
-
Constructor Summary
Constructors Constructor Description StringBasedResult(java.lang.String contentType, java.lang.String string)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ILocatorgetLocator()Return theILocatorthat defines the physical resource location for the reciver.java.lang.StringgetString()java.lang.StringtoString()-
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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface de.intarsys.tools.mime.IMimeTypeSupport
getContentType
-
-
-
-
Method Detail
-
getLocator
public ILocator getLocator()
Description copied from interface:ILocatorSupportReturn theILocatorthat defines the physical resource location for the reciver.- Returns:
- Return the
ILocatorthat defines the physical resource location for the reciver.
-
getString
public java.lang.String getString()
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-