com.zasysdev.zamae
Class AppString
java.lang.Object
com.zasysdev.zamae.AppString
public class AppString
- extends java.lang.Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AppString
public AppString()
allocate
public void allocate(int a_iMaxAppStrings)
reinitialiseAppStrings
public void reinitialiseAppStrings()
getAppString
public java.lang.String getAppString(int a_index)
setAppString
public void setAppString(int a_indexWhereToSet,
java.lang.String a_strToSet)
addAppString
protected int addAppString(java.lang.String a_strToAdd)
addFilterListener
public void addFilterListener(java.lang.String a_strWildcard,
StringFilter_callbacks listener)
- for each replacement, the possible filtering objects will
implement a StringFilter interface. An object will use
this method in order to add itself to the listener list for a
specific string replacement
- Parameters:
a_strWildcard - Wildcard on which we should call the
filterString interface to perform the
required replacementlistener - object that implements the StringFilter_callbacks
interface (such interfaces methods will be
called by the AppString class when required)
removeFilterListener
public void removeFilterListener(java.lang.String a_strWildcard,
StringFilter_callbacks listener)
- Removes a StringFilter listener from the given wildcard
- Parameters:
a_strWildcard - Wildcard on which the replacement was
being donelistener - listener instance to remove