Searched refs:targetFormat (Results 1 – 1 of 1) sorted by relevance
158 public Converter<String, String> converterTo(CaseFormat targetFormat) { in converterTo() argument159 return new StringConverter(this, targetFormat); in converterTo()166 private final CaseFormat targetFormat; field in CaseFormat.StringConverter168 StringConverter(CaseFormat sourceFormat, CaseFormat targetFormat) { in StringConverter() argument170 this.targetFormat = checkNotNull(targetFormat); in StringConverter()175 return s == null ? null : sourceFormat.to(targetFormat, s); in doForward()180 return s == null ? null : targetFormat.to(sourceFormat, s); in doBackward()187 && targetFormat.equals(that.targetFormat); in equals()193 return sourceFormat.hashCode() ^ targetFormat.hashCode(); in hashCode()197 return sourceFormat + ".converterTo(" + targetFormat + ")"; in toString()