|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.vysper.xmpp.addressing.stringprep.StringPrep
org.apache.vysper.xmpp.addressing.stringprep.ResourcePrep
public class ResourcePrep
This class is used to prepare a Resource Identifier for further usage. see RFC3920:3.4 see RFC3920:Appendix B see http://www.ietf.org/rfc/rfc3920.txt
| Method Summary | |
|---|---|
protected java.util.Map<java.lang.String,java.lang.String> |
buildMapping()
Override this method and return a custom map of character mappings to alter the Stringprep behavior. |
protected java.util.Set<java.lang.String> |
buildProhibitedSet()
Override this method and return a custom set of prohibited characters to alter the Stringprep behavior. |
static java.lang.String |
prepare(java.lang.String resource)
Applies the Resourceprep profile to the given resource. |
| Methods inherited from class org.apache.vysper.xmpp.addressing.stringprep.StringPrep |
|---|
prepareString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static java.lang.String prepare(java.lang.String resource)
throws StringPrepViolationException
resource - the resource to prepare
StringPrepViolationException - in case the Resourceprep profile can't be applied
@SpecCompliant(spec="RFC3920",
section="B.3",
status=FINISHED)
protected java.util.Map<java.lang.String,java.lang.String> buildMapping()
StringPrep
buildMapping in class StringPrepMap containing all character mappings
@SpecCompliant(spec="RFC3920",
section="B.5",
status=FINISHED)
protected java.util.Set<java.lang.String> buildProhibitedSet()
StringPrep
buildProhibitedSet in class StringPrepSet containing all characters that are
prohibited
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||