URLConnection.getContentType

URLConnection.getContentType

Class Overview | Class Members | This Package | All Packages

Syntax
public String getContentType()
Returns
the content type of the resource that the URL references, or null if not known.
Description
Returns the value of the content-type header field.

See Also
getHeaderField