public class NestedJarURLConnection extends URLConnection implements AutoCloseable
allowUserInteraction, doInput, doOutput, ifModifiedSince, url, useCaches| Constructor and Description |
|---|
NestedJarURLConnection(URL url,
boolean connect,
boolean isDirectory)
Constructs a URL connection to the specified URL.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
connect() |
InputStream |
getInputStream() |
addRequestProperty, getAllowUserInteraction, getConnectTimeout, getContent, getContent, getContentEncoding, getContentLength, getContentLengthLong, getContentType, getDate, getDefaultAllowUserInteraction, getDefaultRequestProperty, 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, setDefaultRequestProperty, setDefaultUseCaches, setDoInput, setDoOutput, setFileNameMap, setIfModifiedSince, setReadTimeout, setRequestProperty, setUseCaches, toStringpublic NestedJarURLConnection(URL url, boolean connect, boolean isDirectory) throws IOException
url - the specified URL.IOExceptionpublic void connect()
throws IOException
connect in class URLConnectionIOExceptionpublic InputStream getInputStream() throws IOException
getInputStream in class URLConnectionIOExceptionpublic void close()
throws IOException
close in interface AutoCloseableIOExceptionCopyright © 2016–2017 squark.io. All rights reserved.