org.pentaho.reporting.engine.classic.core
Interface ReportEnvironment

All Superinterfaces:
Cloneable, Serializable
All Known Implementing Classes:
DefaultReportEnvironment

public interface ReportEnvironment
extends Serializable, Cloneable

Provides a simplified interface to access information about the processing environment in a simple way. The report environment system replaces the old parser-config system.

Author:
Thomas Morgner

Method Summary
 Object clone()
           
 String encodeURL(String url)
          Deprecated. nice idea, but not used and dangerous in many cases.
 String getEnvironmentProperty(String key)
          Returns a environment property.
 Locale getLocale()
           
 TimeZone getTimeZone()
           
 String getURLEncoding()
          Returns the text encoding that should be used to encode URLs.
 Map<String,String[]> getUrlExtraParameter()
           
 

Method Detail

getEnvironmentProperty

String getEnvironmentProperty(String key)
Returns a environment property. These properties are usually defined by the outside world, but default values can be specified inside the report-definition.

Parameters:
key -
Returns:

getURLEncoding

String getURLEncoding()
Returns the text encoding that should be used to encode URLs.

Returns:
the encoding for URLs.

encodeURL

String encodeURL(String url)
                 throws UnsupportedEncodingException
Deprecated. nice idea, but not used and dangerous in many cases.

Servlet support. Encodes session information (or other additional parameters) into the URL. This is required if the server does not use cookies for its session management.

Parameters:
url -
Returns:
Throws:
UnsupportedEncodingException

getLocale

Locale getLocale()

getTimeZone

TimeZone getTimeZone()

clone

Object clone()
             throws CloneNotSupportedException
Throws:
CloneNotSupportedException

getUrlExtraParameter

Map<String,String[]> getUrlExtraParameter()