Top Description Methods
com.ongres.scram.common.stringprep

public Interface StringPreparation

Known Direct Implementers
com.ongres.scram.common.stringprep.StringPreparations

Interface for all possible String Preparations mechanisms.

Method Summary

Modifier and TypeMethod and Description
public String

Returns:

The prepared String
normalize
(String
The String to prepare
value
)

Normalize a UTF-8 String according to this String Preparation rules.

Method Detail

normalizeback to summary
public String normalize(String value) throws IllegalArgumentException

Normalize a UTF-8 String according to this String Preparation rules.

Parameters
value:String

The String to prepare

Returns:String

The prepared String

Exceptions
IllegalArgumentException:
If the String to prepare is not valid.