org.abstracthorizon.extend.repository.maven
Class SubstitutionTraverser

java.lang.Object
  extended by org.abstracthorizon.extend.repository.maven.SubstitutionTraverser

public class SubstitutionTraverser
extends Object


Field Summary
protected static Class<?>[] EMPTY_CLASS_ARRAY
           
protected static Object[] EMPTY_OBJECT_ARRAY
           
protected static Class<?>[] STRING_CLASS_ARRAY
           
 
Constructor Summary
SubstitutionTraverser()
           
 
Method Summary
static void main(String[] args)
           
static void substitute(Object object, Map<String,String> substitutions)
           
static String substitute(String value, Map<String,String> substitutions)
           
static void test(String value, Map<String,String> map)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

EMPTY_CLASS_ARRAY

protected static final Class<?>[] EMPTY_CLASS_ARRAY

STRING_CLASS_ARRAY

protected static final Class<?>[] STRING_CLASS_ARRAY

EMPTY_OBJECT_ARRAY

protected static final Object[] EMPTY_OBJECT_ARRAY
Constructor Detail

SubstitutionTraverser

public SubstitutionTraverser()
Method Detail

substitute

public static void substitute(Object object,
                              Map<String,String> substitutions)

substitute

public static String substitute(String value,
                                Map<String,String> substitutions)

main

public static void main(String[] args)
                 throws Exception
Throws:
Exception

test

public static void test(String value,
                        Map<String,String> map)


Copyright © 2005-2009 Abstract Horizon. All Rights Reserved.