URLConnection.getContentLength
Class Overview | Class Members | 
  This Package | 
All Packages
 public int getContentLength()
Returns
     the content length of the resource that this connection's URL
          references, or -1 if the content length is
          not known.
  Description
 Returns the value of the content-length header field.