Converts the specified String str from this format to the specified format. A "best effort" approach is taken; if str does not conform to the assumed format, then the behavior of this method is undefined but we make a reasonable effort at converting anyway.
(CaseFormat format, String str)
| 132 | |
| 133 | |
| 134 | public final String to(CaseFormat format, String str) { |
| 135 | checkNotNull(format); |
| 136 | checkNotNull(str); |
| 137 | return (format == this) ? str : convert(format, str); |
| 138 | } |
| 139 | |
| 140 | /** |
| 141 | * Enum values can override for performance reasons. |
no test coverage detected