|
DLESE Tools v1.6.0 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.dlese.dpc.schemedit.test.UtfTester
public class UtfTester
Class for testing dom manipulation with help from SchemaHelper
$Id $
| Method Summary | |
|---|---|
static byte[] |
fromHexString(String s)
Convert a hex string to a byte array. |
static boolean |
isUtf8(char ch)
|
static boolean |
isUtf8(File file)
|
static boolean |
isUtf8(String s)
|
static void |
main(String[] args)
|
static String |
toHexString(byte[] b)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static boolean isUtf8(File file)
throws Exception
Exceptionpublic static boolean isUtf8(String s)
public static boolean isUtf8(char ch)
throws Exception
Exception
public static void main(String[] args)
throws Exception
Exceptionpublic static String toHexString(byte[] b)
public static byte[] fromHexString(String s)
s - String must have even number of characters.
and be formed only of digits 0-9 A-F or
a-f. No spaces, minus or plus signs.
|
DLESE Tools v1.6.0 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||