Oracle Fusion Middleware Java API Reference for Oracle Extension SDK
11g Release 2 (11.1.2.0.0)

E17493-01

oracle.ide.util.macro
Class StringMacroConverter

java.lang.Object
  extended by oracle.ide.util.macro.StringMacroConverter
All Implemented Interfaces:
MacroConverter

public class StringMacroConverter
extends java.lang.Object
implements MacroConverter

StringMacroConverter - converts macros in a String.

Since:
5.0
See Also:
java.util.Map;

Field Summary
 
Fields inherited from interface oracle.ide.util.macro.MacroConverter
AT_CONVERTER, BATCH_CONVERTER, MAKE_CONVERTER, SHELL_CONVERTER
 
Method Summary
 java.lang.String expandString(java.lang.String s, java.util.Map macros)
          Expands the macros in a String.
static StringMacroConverter getConverter(int converterType)
          Factory method to obtain an instance of StringMacroConverter.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

expandString

public java.lang.String expandString(java.lang.String s,
                                     java.util.Map macros)
Expands the macros in a String. The src is copied to the dest expanding the macros listed in the macros map.

See Also:
String

getConverter

public static StringMacroConverter getConverter(int converterType)
Factory method to obtain an instance of StringMacroConverter.

Parameters:
converterType - - Type of converter to use. The types are defined as static constants in the MacroConverter interface.

Returns:
Instance of StringMacroConverter

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK
11g Release 2 (11.1.2.0.0)

E17493-01

Copyright © 1997, 2011, Oracle. All rights reserved.