Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.alicebot.server.core.util
Class Substituter  view Substituter download Substituter.java

java.lang.Object
  extended byorg.alicebot.server.core.util.Substituter

public class Substituter
extends java.lang.Object


Field Summary
private static java.lang.String EMPTY_STRING
           
private static java.lang.String SPACE
           
 
Constructor Summary
Substituter()
           
 
Method Summary
static java.lang.String applySubstitutions(java.util.HashMap hashmap, java.lang.String s)
           
static java.lang.String replace(java.lang.String s, java.lang.String s1, java.lang.String s2)
           
static java.lang.String replaceIgnoreCase(java.lang.String s, java.lang.String s1, java.lang.String s2)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SPACE

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

EMPTY_STRING

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

Substituter

public Substituter()
Method Detail

replace

public static java.lang.String replace(java.lang.String s,
                                       java.lang.String s1,
                                       java.lang.String s2)

replaceIgnoreCase

public static java.lang.String replaceIgnoreCase(java.lang.String s,
                                                 java.lang.String s1,
                                                 java.lang.String s2)

applySubstitutions

public static java.lang.String applySubstitutions(java.util.HashMap hashmap,
                                                  java.lang.String s)