slib.tools.module
Class GenericConfBuilder

java.lang.Object
  extended by slib.tools.module.GenericConfBuilder

public class GenericConfBuilder
extends Object

Author:
seb

Constructor Summary
GenericConfBuilder()
           
 
Method Summary
static String applyGlobalPatterns(String v)
          Apply loaded patterns to a string (see GlobalConfPattern )
if a pattern XmlTags.VARIABLE_TAG HOME is set to /tmp the method will return /tmp/test/graph if {HOME}/test/graph is set as input
static slib.utils.i.Conf build(Element e)
           
static LinkedHashSet<slib.utils.i.Conf> build(NodeList list)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GenericConfBuilder

public GenericConfBuilder()
Method Detail

applyGlobalPatterns

public static String applyGlobalPatterns(String v)
                                  throws slib.utils.ex.SLIB_Ex_Critic
Apply loaded patterns to a string (see GlobalConfPattern )
if a pattern XmlTags.VARIABLE_TAG HOME is set to /tmp the method will return /tmp/test/graph if {HOME}/test/graph is set as input

Parameters:
v - the original string
Returns:
the string impacted by the loaded pattern
Throws:
slib.utils.ex.SLIB_Ex_Critic
See Also:
GlobalConfPattern}

build

public static slib.utils.i.Conf build(Element e)
                               throws slib.utils.ex.SLIB_Ex_Critic
Parameters:
e -
Returns:
Throws:
slib.utils.ex.SLIB_Ex_Critic

build

public static LinkedHashSet<slib.utils.i.Conf> build(NodeList list)
                                              throws slib.utils.ex.SLIB_Ex_Critic
Parameters:
list -
Returns:
Throws:
slib.utils.ex.SLIB_Ex_Critic


Copyright © 2013. All Rights Reserved.