net.sourceforge.jcetaglib.tools
Class safeText

java.lang.Object
  extended bynet.sourceforge.jcetaglib.tools.safeText

public class safeText
extends java.lang.Object

Object containing text that can be removed from memory by calling clearText() method

Version:
0.6 (beta) 05-nov-2002
Author:
Gert Van Ham, hamgert@users.sourceforge.net, http://jcetaglib.sourceforge.net

Constructor Summary
safeText()
           
 
Method Summary
 void clearText()
          Wipe text from memory
 java.lang.StringBuffer getText()
          Retrieve text
 void setText(byte[] safetext)
          Set text
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

safeText

public safeText()
Method Detail

setText

public void setText(byte[] safetext)
             throws java.lang.Exception
Set text

Parameters:
safetext - byte[] byte array of text
Throws:
java.lang.Exception - for all errors

getText

public java.lang.StringBuffer getText()
                               throws java.lang.Exception
Retrieve text

Returns:
StringBuffer text
Throws:
java.lang.Exception - for all errors

clearText

public void clearText()
               throws java.lang.Exception
Wipe text from memory

Throws:
java.lang.Exception - for all errors