MCPcopy Create free account
hub / github.com/apache/ant / getDefaultEncoding

Method getDefaultEncoding

src/main/org/apache/tools/ant/util/FileUtils.java:1887–1900  ·  view source on GitHub ↗

Get the default encoding. This is done by opening an InputStreamReader on a dummy InputStream and getting the encoding. Could use System.getProperty("file.encoding"), but cannot see where this is documented. @return the default file encoding.

()

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 3

postProcessMethod · 0.80
getDueToMethod · 0.80

Calls 2

closeMethod · 0.95
getEncodingMethod · 0.45

Tested by 1