@Test public void Stringの値をリテラルに変換する() { assertThat(target.convert("000001"), is("'000001'")); ; }
@Override public String convert(String target) { checkNotNull(target); StringBuilder sb = new StringBuilder(); sb.append(QUOTE_STRING); sb.append(target.toString()); sb.append(QUOTE_STRING); return sb.toString(); }
StringLiteralConvertor implements LiteralConvertor<String> { @Override public String convert(String target) { checkNotNull(target); StringBuilder sb = new StringBuilder(); sb.append(QUOTE_STRING); sb.append(target.toString()); sb.append(QUOTE_STRING); return sb.toString(); } }
StringLiteralConvertor implements LiteralConvertor<String> { @Override public String convert(String target) { checkNotNull(target); StringBuilder sb = new StringBuilder(); sb.append(QUOTE_STRING); sb.append(target.toString()); sb.append(QUOTE_STRING); return sb.toString(); } StringLiteralConvertor(); }
StringLiteralConvertor implements LiteralConvertor<String> { @Override public String convert(String target) { checkNotNull(target); StringBuilder sb = new StringBuilder(); sb.append(QUOTE_STRING); sb.append(target.toString()); sb.append(QUOTE_STRING); return sb.toString(); } StringLiteralConvertor(); @Override String convert(String target); @Override Class<?> getJavaType(); }
StringLiteralConvertor implements LiteralConvertor<String> { @Override public String convert(String target) { checkNotNull(target); StringBuilder sb = new StringBuilder(); sb.append(QUOTE_STRING); sb.append(target.toString()); sb.append(QUOTE_STRING); return sb.toString(); } StringLiteralConvertor(); @Override String convert(String target); @Override Class<?> getJavaType();  }