org.apache.torque.util
Class BeanPropertiesLoader
java.lang.Object
   org.apache.torque.util.BeanPropertiesLoader
org.apache.torque.util.BeanPropertiesLoader
- public class BeanPropertiesLoader 
- extends Object
 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
BeanPropertiesLoader
public BeanPropertiesLoader()
BeanPropertiesLoader
public BeanPropertiesLoader(Object bean,
                            String location,
                            String encoding,
                            String description)
isPropertiesExist
public boolean isPropertiesExist()
- 
 
isSkip
protected boolean isSkip(Map<String,Object> description,
                         String key)
- 
 
loadToBean
public void loadToBean()
                throws org.kuali.core.db.torque.PropertyHandlingException
- 
- Throws:
- org.kuali.core.db.torque.PropertyHandlingException
 
getLogValue
protected String getLogValue(String key,
                             String value)
- Don't display password'ish type properties
 
- 
 
getProperties
public Properties getProperties()
                         throws org.kuali.core.db.torque.PropertyHandlingException
- Load the properties file into a Properties object
 
- 
- Throws:
- org.kuali.core.db.torque.PropertyHandlingException
 
getReader
protected Reader getReader()
                    throws org.kuali.core.db.torque.PropertyHandlingException
- Return a Reader for reading in the properties file. First check the file system to see if the file exists. If
 not, return a Reader using Spring Resource loading
 
- 
- Throws:
- org.kuali.core.db.torque.PropertyHandlingException
 
getLocation
public String getLocation()
- 
 
setLocation
public void setLocation(String location)
- 
 
getEncoding
public String getEncoding()
- 
 
setEncoding
public void setEncoding(String encoding)
- 
 
getBean
public Object getBean()
- 
 
setBean
public void setBean(Object bean)
- 
 
isOverrideExistingPropertyValues
public boolean isOverrideExistingPropertyValues()
- 
 
setOverrideExistingPropertyValues
public void setOverrideExistingPropertyValues(boolean override)
- 
 
getDescription
public String getDescription()
- 
 
setDescription
public void setDescription(String description)
- 
 
isOverrideSystemProperties
public boolean isOverrideSystemProperties()
- 
 
setOverrideSystemProperties
public void setOverrideSystemProperties(boolean overrideSystemProperties)
- 
 
Copyright © 2004-2012 The Kuali Foundation. All Rights Reserved.