- java.lang.Object
-
- cn.mcres.karlatemp.mxlib.tools.CharCompiler
-
public class CharCompiler extends Object
Compile chars. 编译字符- 作者:
- 32798
-
-
构造器概要
构造器 构造器 说明 CharCompiler()
-
方法概要
修饰符和类型 方法 说明 static String
decode(char s, String line)
static String
decode(char s, String line, Charset cs)
static String
decode(String line)
static String
decode(String line, String charset)
static String
encode(char s, String line)
static String
encode(char s, String line, Charset cs)
static String
encode(char s, String line, Charset cs, IntPredicate tester)
static String
encode(String line)
static String
encode(String line, String charset)
static Charset
getCharset(String name)
static IntPredicate
getDefaultTester()
static IntPredicate
getURITester()
static IntPredicate
getURLTester()
-
-
-
方法详细资料
-
getDefaultTester
public static IntPredicate getDefaultTester()
-
getURITester
public static IntPredicate getURITester()
-
getURLTester
public static IntPredicate getURLTester()
-
getCharset
public static Charset getCharset(String name) throws UnsupportedEncodingException
-
encode
public static String encode(String line, String charset) throws UnsupportedEncodingException
-
encode
public static String encode(char s, String line, Charset cs, IntPredicate tester)
-
decode
public static String decode(String line, String charset) throws UnsupportedEncodingException
-
-