MCPcopy Index your code
hub / github.com/apache/ant / canEncode

Method canEncode

src/main/org/apache/tools/zip/ZipEncoding.java:52–52  ·  view source on GitHub ↗

Check, whether the given string may be losslessly encoded using this encoding. @param name A filename or ZIP comment. @return Whether the given name may be encoded with out any losses.

(String name)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 8

createTestFileMethod · 0.95
doSimpleEncodingTestMethod · 0.95
canEncodeMethod · 0.65
writeLocalFileHeaderMethod · 0.65
addUnicodeExtraFieldsMethod · 0.65
getEntryEncodingMethod · 0.65
putNextEntryMethod · 0.65

Implementers 4

Simple8BitZipEncodingsrc/main/org/apache/tools/zip/Simple8B
FallbackZipEncodingsrc/main/org/apache/tools/zip/Fallback
NioZipEncodingsrc/main/org/apache/tools/zip/NioZipEn
TarUtilssrc/main/org/apache/tools/tar/TarUtils

Calls

no outgoing calls

Tested by 2

createTestFileMethod · 0.76
doSimpleEncodingTestMethod · 0.76