org.reactive.configuration
Class JFigConfigurationFactory

java.lang.Object
  extended by org.reactive.configuration.JFigConfigurationFactory

public class JFigConfigurationFactory
extends java.lang.Object

A wrapper for JFig configuration instantiation. This class helps to deal with some of the oddities of JFig.

An example of the bean factory configuration required for JFig Configuration

 TODO: add example XML here
 

Since:
30.12.2004
Version:
$Id: JFigConfigurationFactory.java,v 1.2 2004/12/30 23:27:33 dan_washusen Exp $
Author:
Dan Washusen
See Also:
DefaultResourceLoader

Constructor Summary
JFigConfigurationFactory()
           
 
Method Summary
 java.lang.String getConfigLocation()
           
 org.igfay.jfig.JFigIF getConfiguration()
           
 java.lang.String getFileName()
           
 java.lang.String getFixedFileName()
          For some reason JFig prepends the "/" character for you, even if you don't want it to.
 void setConfigLocation(java.lang.String configLocation)
           
 void setFileName(java.lang.String fileName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JFigConfigurationFactory

public JFigConfigurationFactory()
Method Detail

getConfigLocation

public java.lang.String getConfigLocation()

setConfigLocation

public void setConfigLocation(java.lang.String configLocation)

getFileName

public java.lang.String getFileName()

getFixedFileName

public java.lang.String getFixedFileName()
For some reason JFig prepends the "/" character for you, even if you don't want it to.

Returns:
Returns the fixed file name (remove the "/" character if there is one)

setFileName

public void setFileName(java.lang.String fileName)

getConfiguration

public org.igfay.jfig.JFigIF getConfiguration()


Copyright © 2004-2005 reactive.org. All Rights Reserved.