org.ten60.netkernel.layer1.transrepresentation
Class BinaryStreamToString
java.lang.Object
org.ten60.netkernel.layer1.nkf.impl.NKFTransreptorImpl
org.ten60.netkernel.layer1.transrepresentation.BinaryStreamToString
- All Implemented Interfaces:
- IURComponent, ITransrepresentor
public class BinaryStreamToString
- extends NKFTransreptorImpl
Read and input stream, assuming character data, into an in-memory String
|
Method Summary |
boolean |
supports(IURRepresentation aFrom,
java.lang.Class aTo)
Returns true if the given representation can be transrepresented using this transreptor to the given interface |
protected void |
transrepresent(INKFConvenienceHelper context)
Implement this method to provide the resultant representation on the response |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BinaryStreamToString
public BinaryStreamToString()
supports
public boolean supports(IURRepresentation aFrom,
java.lang.Class aTo)
- Description copied from interface:
ITransrepresentor
- Returns true if the given representation can be transrepresented using this transreptor to the given interface
- Parameters:
aFrom - the representation to transrepresentaTo - the interface we want a new aspect to implement
transrepresent
protected void transrepresent(INKFConvenienceHelper context)
throws java.lang.Exception
- Description copied from class:
NKFTransreptorImpl
- Implement this method to provide the resultant representation on the response
- Specified by:
transrepresent in class NKFTransreptorImpl
- Parameters:
context - the full NKF context for the request
- Throws:
java.lang.Exception - you can throw any exception you like and it will be mapped
into a NetKernelException
Copyright © 2002-2004 1060 Research Ltd. All Rights Reserved.