com.opencms.template
Class CmsProcessedString

java.lang.Object
  |
  +--com.opencms.template.CmsProcessedString

public class CmsProcessedString
extends Object

Special class for String results returned in template engine. Template objects should use this class instead of String if they have written their results to the response output stream theirselves (if the system is in streaming mode).

If an object doesn't care about HTTP streaming and simply generates a String for returning to the template engine, it really shouldn't make use of this class and return the original String.

Version:
$Revision: 1.5 $ $Date: 2003/02/02 15:59:53 $
Author:
Alexander Lucas

Constructor Summary
CmsProcessedString(byte[] b, String encoding)
          Constructor for a new CmsProcessedString object
CmsProcessedString(String s)
          Constructor for a new CmsProcessedString object
 
Method Summary
 String toString()
          Get back the original String
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CmsProcessedString

public CmsProcessedString(String s)
Constructor for a new CmsProcessedString object


CmsProcessedString

public CmsProcessedString(byte[] b,
                          String encoding)
Constructor for a new CmsProcessedString object

Method Detail

toString

public String toString()
Get back the original String

Overrides:
toString in class Object