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 ILocator
getLocator()
Return theILocator
that defines the physical resource location for the reciver.java.lang.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
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:ILocatorSupport
Return theILocator
that defines the physical resource location for the reciver.- Returns:
- Return the
ILocator
that defines the physical resource location for the reciver.
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-