@Test public void testToObject() { assertEquals(new File("hoge"), fileType.toObject("'hoge'")); }
public File toObject(String value) { if (StringUtil.isEmpty(value)) { return null; } String s = ArgumentUtil.decode(value); return new File(s); }
FileType implements ArgumentType<File> { public File toObject(String value) { if (StringUtil.isEmpty(value)) { return null; } String s = ArgumentUtil.decode(value); return new File(s); } }
FileType implements ArgumentType<File> { public File toObject(String value) { if (StringUtil.isEmpty(value)) { return null; } String s = ArgumentUtil.decode(value); return new File(s); }  }
FileType implements ArgumentType<File> { public File toObject(String value) { if (StringUtil.isEmpty(value)) { return null; } String s = ArgumentUtil.decode(value); return new File(s); }  File toObject(String value); String toText(File value); }
FileType implements ArgumentType<File> { public File toObject(String value) { if (StringUtil.isEmpty(value)) { return null; } String s = ArgumentUtil.decode(value); return new File(s); }  File toObject(String value); String toText(File value);  }