public final class Tokenizer extends Object
| Modifier and Type | Field and Description | 
|---|---|
| static String | COMMON_DELIMITERSCommon Jersey delimiters used by various properties. | 
| Modifier and Type | Method and Description | 
|---|---|
| static String[] | tokenize(String entry)Get a canonical array of tokens from a String entry that may contain
 zero or more tokens separated by common delimiters  " ,;\n". | 
| static String[] | tokenize(String[] entries)Get a canonical array of tokens from an array of String entries
 where each entry may contain zero or more tokens separated by
 common delimiters  " ,;\n". | 
| static String[] | tokenize(String[] entries,
        String delimiters)Get a canonical array of tokens from an array of String entries
 where each entry may contain zero or more tokens separated by characters
 in delimiters string. | 
| static String[] | tokenize(String entry,
        String delimiters)Get a canonical array of tokens from a String entry
 that may contain zero or more tokens separated by characters in
 delimiters string. | 
public static final String COMMON_DELIMITERS
public static String[] tokenize(String[] entries)
" ,;\n".entries - an array where each String entry may contain zero or more
                common delimiters separated tokens.null entries.public static String[] tokenize(String[] entries, String delimiters)
entries - an array where each String entry may contain zero or more
                   delimiters separated tokens.delimiters - string with delimiters, every character represents one
                   delimiter.null entries.public static String[] tokenize(String entry)
" ,;\n".entry - a String that may contain zero or more
              common delimiters separated tokens.null entries.public static String[] tokenize(String entry, String delimiters)
entry - a String that may contain zero or more
                   delimiters separated tokens.delimiters - string with delimiters, every character represents one
                   delimiter.null entries.Copyright © 2007-2024,Oracleand/or its affiliates.All Rights Reserved. Use is subject to license terms.