|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.icu.text.StringPrep
StringPrep API implements the StingPrep framework as described by RFC 3454. StringPrep prepares Unicode strings for use in network protocols. Profiles of StingPrep are set of rules and data according to which the Unicode Strings are prepared. Each profiles contains tables which describe how a code point should be treated. The tables are broadly classied into
Field Summary | |
static int |
ALLOW_UNASSIGNED
Deprecated. This is a draft API and might change in a future release of ICU. |
static int |
DEFAULT
Deprecated. This is a draft API and might change in a future release of ICU. |
Constructor Summary | |
StringPrep(InputStream inputStream)
Deprecated. This is a draft API and might change in a future release of ICU. |
Method Summary | |
StringBuffer |
prepare(UCharacterIterator src,
int options)
Deprecated. This is a draft API and might change in a future release of ICU. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int DEFAULT
prepare(com.ibm.icu.text.UCharacterIterator, int)
,
Constant Field Valuespublic static final int ALLOW_UNASSIGNED
prepare(com.ibm.icu.text.UCharacterIterator, int)
,
Constant Field ValuesConstructor Detail |
public StringPrep(InputStream inputStream) throws IOException
inputStream
- The stream for reading the StringPrep profile binarySun
IOException
Method Detail |
public StringBuffer prepare(UCharacterIterator src, int options) throws StringPrepParseException
src
- A UCharacterIterator object containing the source stringoptions
- A bit set of options:
- StringPrep.NONE Prohibit processing of unassigned code points in the input
- StringPrep.ALLOW_UNASSIGNED Treat the unassigned code points are in the input
as normal Unicode code points.
ParseException
StringPrepParseException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |