Package de.intarsys.tools.result
Class LocatorBasedResult
- java.lang.Object
-
- de.intarsys.tools.result.CommonResult
-
- de.intarsys.tools.result.StreamResult
-
- de.intarsys.tools.result.LocatorBasedResult
-
- All Implemented Interfaces:
ILocatorSupport,IMimeTypeSupport,IResult,IStreamResult
public class LocatorBasedResult extends StreamResult
-
-
Constructor Summary
Constructors Constructor Description LocatorBasedResult(java.lang.String contentType, ILocator locator)
-
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.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
-
-
-
-
Constructor Detail
-
LocatorBasedResult
public LocatorBasedResult(java.lang.String contentType, ILocator locator)
-
-
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.
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-