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 java.lang.Object


Field Summary
(package private) static java.lang.String MAGIC
           
(package private) static java.lang.String MAGIC0
           
(package private) static java.lang.String MAGIC1
           
(package private) static java.lang.String MAGIC2
           
 
Constructor Summary
Util()
           
 
Method Summary
(package private) static java.lang.String createMacroTemplate(java.lang.String s)
          Creates a macro tempate so that it can be later used with replace(String, String[]).
(package private) static java.lang.String replace(java.lang.String macro, java.lang.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 java.lang.String MAGIC
See Also:
Constant Field Values

MAGIC0

static final java.lang.String MAGIC0
See Also:
Constant Field Values

MAGIC1

static final java.lang.String MAGIC1
See Also:
Constant Field Values

MAGIC2

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

Util

Util()
Method Detail

replace

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


createMacroTemplate

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



Copyright (c) 1997-2012 Oracle and/or its affiliates. All rights reserved.