de.intarsys.tools.result
Class ByteBasedResult
java.lang.Object
de.intarsys.tools.result.CommonResult
de.intarsys.tools.result.StreamResult
de.intarsys.tools.result.ByteBasedResult
- All Implemented Interfaces:
- ILocatorSupport, IMimeTypeSupport, IResult, IStreamResult
public class ByteBasedResult
- extends StreamResult
ByteBasedResult
public ByteBasedResult(String contentType,
byte[] bytes)
getBytes
public byte[] getBytes()
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.
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2008 intarsys consulting GmbH. All Rights Reserved.