public class ResourceURLConnection extends URLConnection
allowUserInteraction, connected, doInput, doOutput, ifModifiedSince, useCaches| Constructor and Description |
|---|
ResourceURLConnection(URL url) |
ResourceURLConnection(URL url,
int index) |
| Modifier and Type | Method and Description |
|---|---|
void |
connect() |
long |
getContentLengthLong() |
InputStream |
getInputStream() |
addRequestProperty, getAllowUserInteraction, getConnectTimeout, getContent, getContent, getContentEncoding, getContentLength, getContentType, getDate, getDefaultAllowUserInteraction, getDefaultUseCaches, getDoInput, getDoOutput, getExpiration, getFileNameMap, getHeaderField, getHeaderField, getHeaderFieldDate, getHeaderFieldInt, getHeaderFieldKey, getHeaderFieldLong, getHeaderFields, getIfModifiedSince, getLastModified, getOutputStream, getPermission, getReadTimeout, getRequestProperties, getRequestProperty, getURL, getUseCaches, guessContentTypeFromName, guessContentTypeFromStream, setAllowUserInteraction, setConnectTimeout, setContentHandlerFactory, setDefaultAllowUserInteraction, setDefaultUseCaches, setDoInput, setDoOutput, setFileNameMap, setIfModifiedSince, setReadTimeout, setRequestProperty, setUseCaches, toStringpublic ResourceURLConnection(URL url)
public ResourceURLConnection(URL url, int index)
public void connect()
connect in class URLConnectionpublic InputStream getInputStream() throws IOException
getInputStream in class URLConnectionIOExceptionpublic long getContentLengthLong()
getContentLengthLong in class URLConnection