MCPcopy Create free account
hub / github.com/YujiSoftware/JDK1.0 / guessContentTypeFromName

Method guessContentTypeFromName

src/java/net/URLConnection.java:414–428  ·  view source on GitHub ↗

A useful utility routine that tries to guess the content-type of an object based upon its extension.

(String fname)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 6

maxMethod · 0.95
substringMethod · 0.80
lastIndexOfMethod · 0.45
charAtMethod · 0.45
toLowerCaseMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected