org.apache.turbine.util |
Various utilities used in Turbine and for Turbine based applications.
$Id: package.html 534527 2007-05-02 16:10:59Z tv $
|
Java Source File Name | Type | Comment |
BaseValueParserTest.java | Class | |
BrowserDetector.java | Class | This class parses the user agent string and sets javasciptOK and
cssOK following the rules described below. |
BrowserDetectorTest.java | Class | Testing of the BrowserDetector class. |
CSVParserTest.java | Class | Test the CSVParser. |
DateSelector.java | Class | DateSelector is a utility class to handle the creation of a set of
date popup menus. |
DynamicURI.java | Class | This creates a Dynamic URI for use within the Turbine system
If you use this class to generate all of your href tags as well
as all of your URI's, then you will not need to worry about having
session data setup for you or using HttpServletRequest.encodeUrl()
since this class does everything for you.
DynamicURI dui = new DynamicURI (data, "UserScreen" );
dui.setName("Click Here").addPathInfo("user","jon");
dui.getA();
The above call to getA() would return the String:
<A HREF="http://www.server.com:80/servlets/Turbine/screen=UserScreen&user=jon">Click Here</A>
author: Jon S. |
DynamicURITest.java | Class | |
FormMessage.java | Class | A message class for holding information about a message that
relates to a specific form and field. |
FormMessages.java | Class | Used for adding and accessing messages that relate to a specific
form and field. |
FormMessageTest.java | Class | |
GenerateUniqueId.java | Class | This class generates a unique 10+ character id. |
HttpUtils.java | Class | This class provides utilities for handling some semi-trivial HTTP stuff that
would othterwise be handled elsewhere. |
InputFilterUtils.java | Class | Some filter methods that have been orphaned in the Screen class.
author: Dave Bryson author: Henning P. |
ObjectUtils.java | Class | This is where common Object manipulation routines should go.
author: Nissim Karpenstein author: Henning P. |
RunData.java | Interface | RunData is an interface to run-time information that is passed
within Turbine. |
SecurityCheck.java | Class | Utility for doing security checks in Screens and Actions. |
ServerData.java | Class | Holds basic server information under which Turbine is running.
This class is accessable via the RunData object within the Turbine
system. |
ServletUtils.java | Class | This is where common Servlet manipulation routines should go.
author: Gonzalo Diethelm author: Henning P. |
SystemError.java | Class | Used for wrapping system errors (exceptions) that may occur in the
application. |
TimeSelector.java | Class | TimeSelector is a utility class to handle the creation of a set of
time drop-down menus. |
TSVParserTest.java | Class | Test the CSVParser. |
TurbineConfig.java | Class | A class used for initialization of Turbine without a servlet container.
If you need to use Turbine outside of a servlet container, you can
use this class for initialization of the Turbine servlet.
TurbineConfig config = new TurbineConfig(".", "conf/TurbineResources.properties");
All paths referenced in TurbineResources.properties and the path to
the properties file itself (the second argument) will be resolved
relative to the directory given as the first argument of the constructor,
here - the directory where application was started. |
TurbineException.java | Class | The base class of all exceptions thrown by Turbine.
It is intended to ease the debugging by carrying on the information
about the exception which was caught and provoked throwing the
current exception. |
TurbineRuntimeException.java | Class | This is a base class of runtime exeptions thrown by Turbine.
This class represents a non-checked type exception (see
java.lang.RuntimeException ). |
TurbineXmlConfig.java | Class | A class used for initialization of Turbine without a servlet container.
If you need to use Turbine outside of a servlet container, you can
use this class for initialization of the Turbine servlet.
TurbineXmlConfig config = new TurbineXmlConfig(".", "conf/TurbineResources.properties");
All paths referenced in TurbineResources.properties and the path to
the properties file itself (the second argument) will be resolved
relative to the directory given as the first argument of the constructor,
here - the directory where application was started. |