MCPcopy Create free account
hub / github.com/Card-Forge/forge / convert

Method convert

forge-core/src/main/java/forge/util/Localizer.java:45–47  ·  view source on GitHub ↗
(String value, String fromEncoding, String toEncoding)

Source from the content-addressed store, hash-verified

43 }
44
45 public String convert(String value, String fromEncoding, String toEncoding) throws UnsupportedEncodingException {
46 return new String(value.getBytes(fromEncoding), toEncoding);
47 }
48
49 public String charset(String value, String charsets[]) {
50 String probe = StandardCharsets.UTF_8.name();

Callers 2

charsetMethod · 0.95
getMessageMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected