org.apache.turbine.util
Class InputFilterUtils

java.lang.Object
  extended byorg.apache.turbine.util.InputFilterUtils

public abstract class InputFilterUtils
extends java.lang.Object

Some filter methods that have been orphaned in the Screen class.

Version:
$Id: InputFilterUtils.java 534527 2007-05-02 16:10:59Z tv $
Author:
Dave Bryson, Henning P. Schmiedehausen

Constructor Summary
InputFilterUtils()
           
 
Method Summary
static java.lang.String prepareText(java.lang.String s)
          This function can/should be used in any screen that will output User entered text.
static java.lang.String prepareTextMinimum(java.lang.String s)
          This function can/should be used in any screen that will output User entered text.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InputFilterUtils

public InputFilterUtils()
Method Detail

prepareText

public static java.lang.String prepareText(java.lang.String s)
This function can/should be used in any screen that will output User entered text. This will help prevent users from entering html ( SUMMARY: NESTED | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD
Copyright © 2000-2008 Apache Software Foundation. All Rights Reserved.