org.apache.turbine.util
Class InputFilterUtils

java.lang.Object
  extended by org.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 615328 2008-01-25 20:25:05Z 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-2011 The Apache Software Foundation. All Rights Reserved.