Deprecated API

Contents

Deprecated Classes

Configuration
As of version 1.1, please use ExtendedProperties from the Jakarta Commons Collections component.
ConfigurationTestCase
Will be removed when Configuration class is removed
Log4JLogSystem
As of v1.3.
Runtime
Use RuntimeInstance or RuntimeSingleton instead.

Deprecated Methods

org.apache.velocity.runtime.parser.CharStream.getColumn()
org.apache.velocity.runtime.parser.CharStream.getLine()
org.apache.velocity.runtime.configuration.Configuration.getExtendedProperties()
Do not use.
org.apache.velocity.runtime.resource.ResourceManagerImpl.getResource(String,int)
Use
org.apache.velocity.runtime.RuntimeSingleton.getRuntimeInstance()
Use getRuntimeServices() instead.
org.apache.velocity.util.StringUtils.removeUnderScores(String)
Use the org.apache.commons.util.StringUtils class instead.
org.apache.velocity.app.Velocity.setConfiguration(Configuration)
Use
org.apache.velocity.app.Velocity.evaluate(Context,Writer,String,InputStream)
Use
org.apache.velocity.app.Velocity.mergeTemplate(String,Context,Writer)
Use
org.apache.velocity.app.Velocity.templateExists(String)
Use resourceExists(String) instead.
org.apache.velocity.runtime.parser.VelocityCharStream.getColumn()
org.apache.velocity.runtime.parser.VelocityCharStream.getLine()
org.apache.velocity.app.VelocityEngine.setConfiguration(Configuration)
Use
org.apache.velocity.app.VelocityEngine.evaluate(Context,Writer,String,InputStream)
Use
org.apache.velocity.app.VelocityEngine.mergeTemplate(String,Context,Writer)
Use
org.apache.velocity.servlet.VelocityServlet.handleRequest(Context)
Use

Copyright B) 2002 Apache Software Foundation. All Rights Reserved.