Behaviours: gen_server.
Authors: Jean-Sébastien Pédron (js.pedron@meetic-corp.com).
The module exmpp_stringprep provides functions to use NODEPREP, NAMEPREP and RESOURCEPREP stringprep profiles.
It's not intended to be used directly.
is_name/1 | Tell if String conforms the NAMEPREP stringprep profile. |
is_node/1 | Tell if String conforms the NODEPREP stringprep profile. |
is_resource/1 | Tell if String conforms the RESOURCEPREP stringprep profile. |
nameprep/1 | Apply the NAMEPREP stringprep profile to String . |
nodeprep/1 | Apply the NODEPREP stringprep profile to String . |
resourceprep/1 | Apply the RESOURCEPREP stringprep profile to String . |
to_lower/1 | Convert String to lowercase. |
is_name(String) -> bool()
throws {stringprep, nameprep, exmpp_not_started, String}
Tell if String
conforms the NAMEPREP stringprep profile.
is_node(String) -> bool()
throws {stringprep, nodeprep, exmpp_not_started, String}
Tell if String
conforms the NODEPREP stringprep profile.
is_resource(String) -> bool()
throws {stringprep, resourceprep, exmpp_not_started, String}
Tell if String
conforms the RESOURCEPREP stringprep profile.
nameprep(String) -> Prepd_String
throws {stringprep, nameprep, exmpp_not_started, String} | {stringprep, nameprep, invalid_string, String}
Apply the NAMEPREP stringprep profile to String
.
nodeprep(String) -> Prepd_String
throws {stringprep, nodeprep, exmpp_not_started, String} | {stringprep, nodeprep, invalid_string, String}
Apply the NODEPREP stringprep profile to String
.
resourceprep(String) -> Prepd_String
throws {stringprep, resourceprep, exmpp_not_started, String} | {stringprep, resourceprep, invalid_string, String}
Apply the RESOURCEPREP stringprep profile to String
.
to_lower(String) -> Lowered_String
throws {stringprep, lowercase, exmpp_not_started, String} | {stringprep, lowercase, invalid_string, String}
Convert String
to lowercase.
Generated by EDoc, Jan 21 2011, 01:43:53.