Skip to content
Stanislav Koshutsky edited this page Feb 15, 2017 · 4 revisions

This class contains only 1 method actually, which retrieves the content size by given url. It uses HttpURLConnection and its getHeaderField("content-length") method.

 public static long getContentSize(final String sUrl)
Clone this wiki locally