@Test public void testToObject() { assertEquals(new Character('\u0000'), characterType.toObject("\\u0000")); assertEquals(new Character('a'), characterType.toObject("\\u0097")); }
public Character toObject(String value) { if (StringUtil.isEmpty(value)) { return null; } String s = value.replace("\\u", ""); int ch = Integer.valueOf(s); return (char) ch; }
CharacterType implements ArgumentType<Character> { public Character toObject(String value) { if (StringUtil.isEmpty(value)) { return null; } String s = value.replace("\\u", ""); int ch = Integer.valueOf(s); return (char) ch; } }
CharacterType implements ArgumentType<Character> { public Character toObject(String value) { if (StringUtil.isEmpty(value)) { return null; } String s = value.replace("\\u", ""); int ch = Integer.valueOf(s); return (char) ch; }  }
CharacterType implements ArgumentType<Character> { public Character toObject(String value) { if (StringUtil.isEmpty(value)) { return null; } String s = value.replace("\\u", ""); int ch = Integer.valueOf(s); return (char) ch; }  Character toObject(String value); String toText(Character value); }
CharacterType implements ArgumentType<Character> { public Character toObject(String value) { if (StringUtil.isEmpty(value)) { return null; } String s = value.replace("\\u", ""); int ch = Integer.valueOf(s); return (char) ch; }  Character toObject(String value); String toText(Character value);  }