|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.mobicents.media.server.impl.naming.EndpointNameGenerator
public class EndpointNameGenerator
Generates concrete names for endpoint using specified pattern. The local endpoint name is case-insensitive. The syntax of the local endpoint name is hierarchical, where the least specific component of the name is the leftmost term, and the most specific component is the rightmost term. The precise syntax depends on the type of endpoint being named and MAY start with a term that identifies the endpoint type. Patterns follows to the name rules but allows to underspecify the individual terms as numeric range. The range syntax is similar to regular expression symbolic class syntax. Example: mobicents/aap/[1..100]
| Constructor Summary | |
|---|---|
EndpointNameGenerator()
|
|
| Method Summary | |
|---|---|
boolean |
hasMore()
Indicates is it possible to generate more names. |
String |
next()
Next generated name. |
void |
setPattern(String pattern)
Modifies name pattern. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public EndpointNameGenerator()
| Method Detail |
|---|
public void setPattern(String pattern)
pattern - the new pattern valuepublic boolean hasMore()
public String next()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||