Update of /cvsroot/xdoclet/xdoclet2/src/java/xdoclet/util/velocity
In directory sc8-pr-cvs1:/tmp/cvs-serv22388/src/java/xdoclet/util/velocity
Modified Files:
VelocityConfigurer.java
Log Message:
More Jalopy reformattings
Index: VelocityConfigurer.java
===================================================================
RCS file:
/cvsroot/xdoclet/xdoclet2/src/java/xdoclet/util/velocity/VelocityConfigurer.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -r1.4 -r1.5
*** VelocityConfigurer.java 16 Mar 2003 17:06:59 -0000 1.4
--- VelocityConfigurer.java 20 Mar 2003 18:52:34 -0000 1.5
***************
*** 48,55 ****
/**
! * Constructs a new VelocityConfigurer.
! *
! * @param classpathManager holds the classpath
! */
public VelocityConfigurer(ClasspathManager classpathManager) {
// Add standard resource loaders
--- 48,55 ----
/**
! * Constructs a new VelocityConfigurer.
! *
! * @param classpathManager holds the classpath
! */
public VelocityConfigurer(ClasspathManager classpathManager) {
// Add standard resource loaders
***************
*** 59,76 ****
/**
! * Returns a Map that should have java.lang.Class objects as keys and a
2-dimensional
! * String[] as value. The class should be of type
org.apache.velocity.runtime.resource.loader.ResourceLoader,
! * and the String array should be {name, pathPrefix}. Name is the logical name
for the loader, and
! * pathPerfix is the required prefix for path entries. The map is preconfigured
with
! *
! * <ul>
! * <li>org.apache.velocity.runtime.resource.loader.JarResourceLoader ->
{"jar", "jar:file:"}</li>
! * <li>org.apache.velocity.runtime.resource.loader.FileResourceLoader ->
{"file", ""}</li>
! * </ul>
! *
! * If you need to configure VelocityConfigurer to handle additional Resource
loader types.
! *
! * @return a Map as described above.
! */
public static Map getResourceLoaderMap() {
return _resourceLoaders;
--- 59,76 ----
/**
! * Returns a Map that should have java.lang.Class objects as keys and a
2-dimensional
! * String[] as value. The class should be of type
org.apache.velocity.runtime.resource.loader.ResourceLoader,
! * and the String array should be {name, pathPrefix}. Name is the logical name
for the loader, and
! * pathPerfix is the required prefix for path entries. The map is preconfigured
with
! *
! * <ul>
! * <li>org.apache.velocity.runtime.resource.loader.JarResourceLoader ->
{"jar", "jar:file:"}</li>
! * <li>org.apache.velocity.runtime.resource.loader.FileResourceLoader ->
{"file", ""}</li>
! * </ul>
! *
! * If you need to configure VelocityConfigurer to handle additional Resource
loader types.
! *
! * @return a Map as described above.
! */
public static Map getResourceLoaderMap() {
return _resourceLoaders;
***************
*** 78,86 ****
/**
! * Adds a Velocity ResourceLoader.
! *
! * @param resourceLoaderClass resource loader class
! * @param files Files to put on resource loader's path
! */
public void addLoader(Class resourceLoaderClass, Collection files) {
if (resourceLoaderClass == null) {
--- 78,86 ----
/**
! * Adds a Velocity ResourceLoader.
! *
! * @param resourceLoaderClass resource loader class
! * @param files Files to put on resource loader's path
! */
public void addLoader(Class resourceLoaderClass, Collection files) {
if (resourceLoaderClass == null) {
***************
*** 139,150 ****
/**
! * Configures a VelocityEngine and returns it.
! *
! * <p>If you need to configure the VelocityEngine beyond the standard
configuration, call
! * [EMAIL PROTECTED] #addLoader} to add additional loaders.</p>
! *
! * <p>It's also possible to set additional Velocity properties in the Properties
object returned
! * by [EMAIL PROTECTED] #getProperties}.</p>
! */
public VelocityEngine initVelocity()
throws Exception {
--- 139,150 ----
/**
! * Configures a VelocityEngine and returns it.
! *
! * <p>If you need to configure the VelocityEngine beyond the standard
configuration, call
! * [EMAIL PROTECTED] #addLoader} to add additional loaders.</p>
! *
! * <p>It's also possible to set additional Velocity properties in the Properties
object returned
! * by [EMAIL PROTECTED] #getProperties}.</p>
! */
public VelocityEngine initVelocity()
throws Exception {
***************
*** 163,169 ****
/**
! * Gets the additional Velocity properties.
! * @return the additional Velocity properties
! */
public Properties getProperties() {
return _properties;
--- 163,169 ----
/**
! * Gets the additional Velocity properties.
! * @return the additional Velocity properties
! */
public Properties getProperties() {
return _properties;
-------------------------------------------------------
This SF.net email is sponsored by: Tablet PC.
Does your code think in ink? You could win a Tablet PC.
Get a free Tablet PC hat just for playing. What are you waiting for?
http://ads.sourceforge.net/cgi-bin/redirect.pl?micr5043en
_______________________________________________
xdoclet-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel