com.sun.tools.ws.processor.model.jaxb
Class Util

java.lang.Object
  extended by com.sun.tools.ws.processor.model.jaxb.Util

 class Util
extends Object


Field Summary
(package private) static String MAGIC
           
(package private) static String MAGIC0
           
(package private) static String MAGIC1
           
(package private) static String MAGIC2
           
 
Constructor Summary
Util()
           
 
Method Summary
(package private) static String createMacroTemplate(String s)
          Creates a macro tempate so that it can be later used with replace(String, String[]).
(package private) static String replace(String macro, String... args)
          Replaces the marcros in the first string by the actual given arguments.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MAGIC

static final String MAGIC
See Also:
Constant Field Values

MAGIC0

static final String MAGIC0
See Also:
Constant Field Values

MAGIC1

static final String MAGIC1
See Also:
Constant Field Values

MAGIC2

static final String MAGIC2
See Also:
Constant Field Values
Constructor Detail

Util

Util()
Method Detail

replace

static String replace(String macro,
                      String... args)
Replaces the marcros in the first string by the actual given arguments.


createMacroTemplate

static String createMacroTemplate(String s)
Creates a macro tempate so that it can be later used with replace(String, String[]).