org.kuali.common.util.property.processor
Class JdbcUrlProcessor

java.lang.Object
  extended by org.kuali.common.util.property.processor.JdbcUrlProcessor
All Implemented Interfaces:
PropertyProcessor

public class JdbcUrlProcessor
extends Object
implements PropertyProcessor


Constructor Summary
JdbcUrlProcessor()
           
 
Method Summary
protected  Map<String,String> getJdbcUrlFragments()
           
protected  String getMatch(String string, Map<String,String> fragments)
          Loop through fragments.keySet() to see if string contains any of the fragments.
 void process(Properties properties)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JdbcUrlProcessor

public JdbcUrlProcessor()
Method Detail

process

public void process(Properties properties)
Specified by:
process in interface PropertyProcessor

getMatch

protected String getMatch(String string,
                          Map<String,String> fragments)
Loop through fragments.keySet() to see if string contains any of the fragments. If there is a match with a fragment, return the corresponding value for the fragment from the map.


getJdbcUrlFragments

protected Map<String,String> getJdbcUrlFragments()


Copyright © 2010-2013 The Kuali Foundation. All Rights Reserved.