public class Encoder extends Object
| Modifier and Type | Field and Description |
|---|---|
static Set<Character> |
ALPHANUMERICS |
static char[] |
CHAR_ALPHANUMERICS |
| Constructor and Description |
|---|
Encoder()
Instantiates a new DefaultEncoder with the default codecs
|
Encoder(List<Codec> codecs)
Instantiates a new DefaultEncoder with the default codecs
|
| Modifier and Type | Method and Description |
|---|---|
String |
canonicalize(String input) |
String |
canonicalize(String input,
boolean strict) |
String |
canonicalize(String input,
boolean restrictMultiple,
boolean restrictMixed) |
static Encoder |
getInstance() |
boolean |
isRestrictMixed() |
boolean |
isRestrictMultiple() |
void |
setRestrictMixed(boolean restrictMixed) |
void |
setRestrictMultiple(boolean restrictMultiple) |
public Encoder()
public boolean isRestrictMultiple()
public void setRestrictMultiple(boolean restrictMultiple)
public boolean isRestrictMixed()
public void setRestrictMixed(boolean restrictMixed)
public static Encoder getInstance()
Copyright © 2017. All rights reserved.