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

Method parseHumanSizes

src/main/org/apache/tools/ant/util/StringUtils.java:203–247  ·  view source on GitHub ↗

Takes a human readable size representation eg 10K a long value. Doesn't support 1.1K or other rational values. @param humanSize the amount as a human readable string. @return a long value representation @throws Exception if there is a problem. @since Ant 1.7

(String humanSize)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 4

toTargetTypeMethod · 0.95
evalMethod · 0.95
testOptionalLongMethod · 0.95
testParseHumanSizesMethod · 0.95

Calls 2

substringMethod · 0.80
lengthMethod · 0.45

Tested by 2

testOptionalLongMethod · 0.76
testParseHumanSizesMethod · 0.76