Java Code Examples for sun.text.normalizer.NormalizerBase#isNormalized()
The following examples show how to use
sun.text.normalizer.NormalizerBase#isNormalized() .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: Normalizer.java From openjdk-jdk8u-backup with GNU General Public License v2.0 | 2 votes |
/** * Determines if the given sequence of char values is normalized. * @param src The sequence of char values to be checked. * @param form The normalization form; one of * {@link java.text.Normalizer.Form#NFC}, * {@link java.text.Normalizer.Form#NFD}, * {@link java.text.Normalizer.Form#NFKC}, * {@link java.text.Normalizer.Form#NFKD} * @return true if the sequence of char values is normalized; * false otherwise. * @throws NullPointerException If <code>src</code> or <code>form</code> * is null. */ public static boolean isNormalized(CharSequence src, Form form) { return NormalizerBase.isNormalized(src.toString(), form); }
Example 2
Source File: Normalizer.java From jdk8u-jdk with GNU General Public License v2.0 | 2 votes |
/** * Determines if the given sequence of char values is normalized. * @param src The sequence of char values to be checked. * @param form The normalization form; one of * {@link java.text.Normalizer.Form#NFC}, * {@link java.text.Normalizer.Form#NFD}, * {@link java.text.Normalizer.Form#NFKC}, * {@link java.text.Normalizer.Form#NFKD} * @return true if the sequence of char values is normalized; * false otherwise. * @throws NullPointerException If <code>src</code> or <code>form</code> * is null. */ public static boolean isNormalized(CharSequence src, Form form) { return NormalizerBase.isNormalized(src.toString(), form); }
Example 3
Source File: Normalizer.java From jdk8u-dev-jdk with GNU General Public License v2.0 | 2 votes |
/** * Determines if the given sequence of char values is normalized. * @param src The sequence of char values to be checked. * @param form The normalization form; one of * {@link java.text.Normalizer.Form#NFC}, * {@link java.text.Normalizer.Form#NFD}, * {@link java.text.Normalizer.Form#NFKC}, * {@link java.text.Normalizer.Form#NFKD} * @return true if the sequence of char values is normalized; * false otherwise. * @throws NullPointerException If <code>src</code> or <code>form</code> * is null. */ public static boolean isNormalized(CharSequence src, Form form) { return NormalizerBase.isNormalized(src.toString(), form); }
Example 4
Source File: Normalizer.java From jdk8u-jdk with GNU General Public License v2.0 | 2 votes |
/** * Determines if the given sequence of char values is normalized. * @param src The sequence of char values to be checked. * @param form The normalization form; one of * {@link java.text.Normalizer.Form#NFC}, * {@link java.text.Normalizer.Form#NFD}, * {@link java.text.Normalizer.Form#NFKC}, * {@link java.text.Normalizer.Form#NFKD} * @param option The normalization option; * {@link sun.text.Normalizer#UNICODE_3_2} * @return true if the sequence of char values is normalized; * false otherwise. * @throws NullPointerException If <code>src</code> or <code>form</code> * is null. */ public static boolean isNormalized(CharSequence src, java.text.Normalizer.Form form, int option) { return NormalizerBase.isNormalized(src.toString(), form, option); }
Example 5
Source File: Normalizer.java From jdk8u-jdk with GNU General Public License v2.0 | 2 votes |
/** * Determines if the given sequence of char values is normalized. * @param src The sequence of char values to be checked. * @param form The normalization form; one of * {@link java.text.Normalizer.Form#NFC}, * {@link java.text.Normalizer.Form#NFD}, * {@link java.text.Normalizer.Form#NFKC}, * {@link java.text.Normalizer.Form#NFKD} * @return true if the sequence of char values is normalized; * false otherwise. * @throws NullPointerException If <code>src</code> or <code>form</code> * is null. */ public static boolean isNormalized(CharSequence src, Form form) { return NormalizerBase.isNormalized(src.toString(), form); }
Example 6
Source File: Normalizer.java From openjdk-jdk9 with GNU General Public License v2.0 | 2 votes |
/** * Determines if the given sequence of char values is normalized. * @param src The sequence of char values to be checked. * @param form The normalization form; one of * {@link java.text.Normalizer.Form#NFC}, * {@link java.text.Normalizer.Form#NFD}, * {@link java.text.Normalizer.Form#NFKC}, * {@link java.text.Normalizer.Form#NFKD} * @param option The normalization option; * {@link sun.text.Normalizer#UNICODE_3_2} * @return true if the sequence of char values is normalized; * false otherwise. * @throws NullPointerException If <code>src</code> or <code>form</code> * is null. */ public static boolean isNormalized(CharSequence src, java.text.Normalizer.Form form, int option) { return NormalizerBase.isNormalized(src.toString(), form, option); }
Example 7
Source File: Normalizer.java From openjdk-jdk9 with GNU General Public License v2.0 | 2 votes |
/** * Determines if the given sequence of char values is normalized. * @param src The sequence of char values to be checked. * @param form The normalization form; one of * {@link java.text.Normalizer.Form#NFC}, * {@link java.text.Normalizer.Form#NFD}, * {@link java.text.Normalizer.Form#NFKC}, * {@link java.text.Normalizer.Form#NFKD} * @return true if the sequence of char values is normalized; * false otherwise. * @throws NullPointerException If <code>src</code> or <code>form</code> * is null. */ public static boolean isNormalized(CharSequence src, Form form) { return NormalizerBase.isNormalized(src.toString(), form); }
Example 8
Source File: Normalizer.java From Bytecoder with Apache License 2.0 | 2 votes |
/** * Determines if the given sequence of char values is normalized. * @param src The sequence of char values to be checked. * @param form The normalization form; one of * {@link java.text.Normalizer.Form#NFC}, * {@link java.text.Normalizer.Form#NFD}, * {@link java.text.Normalizer.Form#NFKC}, * {@link java.text.Normalizer.Form#NFKD} * @param option The normalization option; * {@link sun.text.Normalizer#UNICODE_3_2} * @return true if the sequence of char values is normalized; * false otherwise. * @throws NullPointerException If <code>src</code> or <code>form</code> * is null. */ public static boolean isNormalized(CharSequence src, java.text.Normalizer.Form form, int option) { return NormalizerBase.isNormalized(src.toString(), form, option); }
Example 9
Source File: Normalizer.java From Bytecoder with Apache License 2.0 | 2 votes |
/** * Determines if the given sequence of char values is normalized. * @param src The sequence of char values to be checked. * @param form The normalization form; one of * {@link java.text.Normalizer.Form#NFC}, * {@link java.text.Normalizer.Form#NFD}, * {@link java.text.Normalizer.Form#NFKC}, * {@link java.text.Normalizer.Form#NFKD} * @return true if the sequence of char values is normalized; * false otherwise. * @throws NullPointerException If {@code src} or {@code form} * is null. */ public static boolean isNormalized(CharSequence src, Form form) { return NormalizerBase.isNormalized(src.toString(), form); }
Example 10
Source File: Normalizer.java From jdk8u_jdk with GNU General Public License v2.0 | 2 votes |
/** * Determines if the given sequence of char values is normalized. * @param src The sequence of char values to be checked. * @param form The normalization form; one of * {@link java.text.Normalizer.Form#NFC}, * {@link java.text.Normalizer.Form#NFD}, * {@link java.text.Normalizer.Form#NFKC}, * {@link java.text.Normalizer.Form#NFKD} * @param option The normalization option; * {@link sun.text.Normalizer#UNICODE_3_2} * @return true if the sequence of char values is normalized; * false otherwise. * @throws NullPointerException If <code>src</code> or <code>form</code> * is null. */ public static boolean isNormalized(CharSequence src, java.text.Normalizer.Form form, int option) { return NormalizerBase.isNormalized(src.toString(), form, option); }
Example 11
Source File: Normalizer.java From openjdk-8 with GNU General Public License v2.0 | 2 votes |
/** * Determines if the given sequence of char values is normalized. * @param src The sequence of char values to be checked. * @param form The normalization form; one of * {@link java.text.Normalizer.Form#NFC}, * {@link java.text.Normalizer.Form#NFD}, * {@link java.text.Normalizer.Form#NFKC}, * {@link java.text.Normalizer.Form#NFKD} * @return true if the sequence of char values is normalized; * false otherwise. * @throws NullPointerException If <code>src</code> or <code>form</code> * is null. */ public static boolean isNormalized(CharSequence src, Form form) { return NormalizerBase.isNormalized(src.toString(), form); }
Example 12
Source File: Normalizer.java From openjdk-8-source with GNU General Public License v2.0 | 2 votes |
/** * Determines if the given sequence of char values is normalized. * @param src The sequence of char values to be checked. * @param form The normalization form; one of * {@link java.text.Normalizer.Form#NFC}, * {@link java.text.Normalizer.Form#NFD}, * {@link java.text.Normalizer.Form#NFKC}, * {@link java.text.Normalizer.Form#NFKD} * @return true if the sequence of char values is normalized; * false otherwise. * @throws NullPointerException If <code>src</code> or <code>form</code> * is null. */ public static boolean isNormalized(CharSequence src, Form form) { return NormalizerBase.isNormalized(src.toString(), form); }
Example 13
Source File: Normalizer.java From openjdk-jdk8u with GNU General Public License v2.0 | 2 votes |
/** * Determines if the given sequence of char values is normalized. * @param src The sequence of char values to be checked. * @param form The normalization form; one of * {@link java.text.Normalizer.Form#NFC}, * {@link java.text.Normalizer.Form#NFD}, * {@link java.text.Normalizer.Form#NFKC}, * {@link java.text.Normalizer.Form#NFKD} * @return true if the sequence of char values is normalized; * false otherwise. * @throws NullPointerException If <code>src</code> or <code>form</code> * is null. */ public static boolean isNormalized(CharSequence src, Form form) { return NormalizerBase.isNormalized(src.toString(), form); }
Example 14
Source File: Normalizer.java From JDKSourceCode1.8 with MIT License | 2 votes |
/** * Determines if the given sequence of char values is normalized. * @param src The sequence of char values to be checked. * @param form The normalization form; one of * {@link java.text.Normalizer.Form#NFC}, * {@link java.text.Normalizer.Form#NFD}, * {@link java.text.Normalizer.Form#NFKC}, * {@link java.text.Normalizer.Form#NFKD} * @return true if the sequence of char values is normalized; * false otherwise. * @throws NullPointerException If <code>src</code> or <code>form</code> * is null. */ public static boolean isNormalized(CharSequence src, Form form) { return NormalizerBase.isNormalized(src.toString(), form); }
Example 15
Source File: Normalizer.java From jdk8u60 with GNU General Public License v2.0 | 2 votes |
/** * Determines if the given sequence of char values is normalized. * @param src The sequence of char values to be checked. * @param form The normalization form; one of * {@link java.text.Normalizer.Form#NFC}, * {@link java.text.Normalizer.Form#NFD}, * {@link java.text.Normalizer.Form#NFKC}, * {@link java.text.Normalizer.Form#NFKD} * @param option The normalization option; * {@link sun.text.Normalizer#UNICODE_3_2} * @return true if the sequence of char values is normalized; * false otherwise. * @throws NullPointerException If <code>src</code> or <code>form</code> * is null. */ public static boolean isNormalized(CharSequence src, java.text.Normalizer.Form form, int option) { return NormalizerBase.isNormalized(src.toString(), form, option); }
Example 16
Source File: Normalizer.java From jdk8u60 with GNU General Public License v2.0 | 2 votes |
/** * Determines if the given sequence of char values is normalized. * @param src The sequence of char values to be checked. * @param form The normalization form; one of * {@link java.text.Normalizer.Form#NFC}, * {@link java.text.Normalizer.Form#NFD}, * {@link java.text.Normalizer.Form#NFKC}, * {@link java.text.Normalizer.Form#NFKD} * @return true if the sequence of char values is normalized; * false otherwise. * @throws NullPointerException If <code>src</code> or <code>form</code> * is null. */ public static boolean isNormalized(CharSequence src, Form form) { return NormalizerBase.isNormalized(src.toString(), form); }
Example 17
Source File: Normalizer.java From TencentKona-8 with GNU General Public License v2.0 | 2 votes |
/** * Determines if the given sequence of char values is normalized. * @param src The sequence of char values to be checked. * @param form The normalization form; one of * {@link java.text.Normalizer.Form#NFC}, * {@link java.text.Normalizer.Form#NFD}, * {@link java.text.Normalizer.Form#NFKC}, * {@link java.text.Normalizer.Form#NFKD} * @param option The normalization option; * {@link sun.text.Normalizer#UNICODE_3_2} * @return true if the sequence of char values is normalized; * false otherwise. * @throws NullPointerException If <code>src</code> or <code>form</code> * is null. */ public static boolean isNormalized(CharSequence src, java.text.Normalizer.Form form, int option) { return NormalizerBase.isNormalized(src.toString(), form, option); }
Example 18
Source File: Normalizer.java From TencentKona-8 with GNU General Public License v2.0 | 2 votes |
/** * Determines if the given sequence of char values is normalized. * @param src The sequence of char values to be checked. * @param form The normalization form; one of * {@link java.text.Normalizer.Form#NFC}, * {@link java.text.Normalizer.Form#NFD}, * {@link java.text.Normalizer.Form#NFKC}, * {@link java.text.Normalizer.Form#NFKD} * @return true if the sequence of char values is normalized; * false otherwise. * @throws NullPointerException If <code>src</code> or <code>form</code> * is null. */ public static boolean isNormalized(CharSequence src, Form form) { return NormalizerBase.isNormalized(src.toString(), form); }
Example 19
Source File: Normalizer.java From dragonwell8_jdk with GNU General Public License v2.0 | 2 votes |
/** * Determines if the given sequence of char values is normalized. * @param src The sequence of char values to be checked. * @param form The normalization form; one of * {@link java.text.Normalizer.Form#NFC}, * {@link java.text.Normalizer.Form#NFD}, * {@link java.text.Normalizer.Form#NFKC}, * {@link java.text.Normalizer.Form#NFKD} * @param option The normalization option; * {@link sun.text.Normalizer#UNICODE_3_2} * @return true if the sequence of char values is normalized; * false otherwise. * @throws NullPointerException If <code>src</code> or <code>form</code> * is null. */ public static boolean isNormalized(CharSequence src, java.text.Normalizer.Form form, int option) { return NormalizerBase.isNormalized(src.toString(), form, option); }
Example 20
Source File: Normalizer.java From hottub with GNU General Public License v2.0 | 2 votes |
/** * Determines if the given sequence of char values is normalized. * @param src The sequence of char values to be checked. * @param form The normalization form; one of * {@link java.text.Normalizer.Form#NFC}, * {@link java.text.Normalizer.Form#NFD}, * {@link java.text.Normalizer.Form#NFKC}, * {@link java.text.Normalizer.Form#NFKD} * @param option The normalization option; * {@link sun.text.Normalizer#UNICODE_3_2} * @return true if the sequence of char values is normalized; * false otherwise. * @throws NullPointerException If <code>src</code> or <code>form</code> * is null. */ public static boolean isNormalized(CharSequence src, java.text.Normalizer.Form form, int option) { return NormalizerBase.isNormalized(src.toString(), form, option); }