|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.psepr.jClient.PsEPRService
public class PsEPRService
| Field Summary | |
|---|---|
static java.lang.String |
AppName
|
static java.lang.String |
EventElement
|
static java.lang.String |
EventNamespace
|
static java.lang.String |
PayloadElement
|
static java.lang.String |
PayloadNamespace
|
| Constructor Summary | |
|---|---|
PsEPRService()
|
|
| Method Summary | |
|---|---|
static java.lang.String |
cleanXMLText(java.lang.String txt)
Clean the text returned from XmlPullParser.getText(). |
static java.lang.String |
extractInstance(java.lang.String addr)
Exract the instance part of an address. |
static boolean |
getParam(java.lang.String parm,
boolean deflt)
Return the value of the parameter or the default value if the parameter is either not specified or if the value is not specified. |
static int |
getParam(java.lang.String parm,
int deflt)
Return the value of the parameter or the default value if the parameter is either not specified or if the value is not specified. |
static long |
getParam(java.lang.String parm,
long deflt)
Return the value of the parameter or the default value if the parameter is either not specified or if the value is not specified. |
static java.lang.String |
getParam(java.lang.String parm,
java.lang.String deflt)
Return the value of the parameter or the default value if the parameter is either not specified or if the value is not specified. |
static java.lang.String |
getRegistryInstance()
|
static java.lang.String |
getRegistryName()
|
static java.lang.String |
getRegistryPort()
|
static RouterManager |
getRouterManager()
|
static boolean |
hasParam(java.lang.String parm)
return true if this parameter is in the parameter file |
static boolean |
isSubChannel(java.lang.String chan1,
java.lang.String chan2)
Return true if the channel is a subchannel of the other. |
static ParamFile |
params()
|
static java.lang.String |
randomString(int len)
Return a string of the specified length made of random alphanumeric characters. |
static void |
setConfigFiles(java.lang.String[] userConfigFiles)
Set an array of config files to look for parameters in. |
static void |
setRegistryInstance(java.lang.String xx)
|
static void |
setRegistryName(java.lang.String xx)
|
static void |
setRegistryPort(java.lang.String xx)
|
static void |
setRouterManager(RouterManager xx)
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String EventElement
public static final java.lang.String EventNamespace
public static final java.lang.String PayloadElement
public static final java.lang.String PayloadNamespace
public static final java.lang.String AppName
| Constructor Detail |
|---|
public PsEPRService()
| Method Detail |
|---|
public static RouterManager getRouterManager()
public static void setRouterManager(RouterManager xx)
public static java.lang.String getRegistryName()
public static void setRegistryName(java.lang.String xx)
public static java.lang.String getRegistryInstance()
public static void setRegistryInstance(java.lang.String xx)
public static java.lang.String getRegistryPort()
public static void setRegistryPort(java.lang.String xx)
public static ParamFile params()
public static void setConfigFiles(java.lang.String[] userConfigFiles)
userConfigFile - array of file namespublic static boolean hasParam(java.lang.String parm)
parm -
public static java.lang.String getParam(java.lang.String parm,
java.lang.String deflt)
parm - deflt -
public static int getParam(java.lang.String parm,
int deflt)
parm - deflt -
public static long getParam(java.lang.String parm,
long deflt)
parm - deflt -
public static boolean getParam(java.lang.String parm,
boolean deflt)
parm - deflt -
public static java.lang.String randomString(int len)
len - number of characters in the retruned string
public static boolean isSubChannel(java.lang.String chan1,
java.lang.String chan2)
chan1 - the possible parent channelchan2 - the possible sub channel
public static java.lang.String extractInstance(java.lang.String addr)
addr - The complete JID to extract instance from
public static java.lang.String cleanXMLText(java.lang.String txt)
txt - The string to clean up.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||