public final class JarURLConnection extends JarURLConnection
JarURLConnection used to support JarFile.getUrl().jarFileURLConnectionallowUserInteraction, connected, doInput, doOutput, ifModifiedSince, url, useCaches| 限定符和类型 | 方法和说明 |
|---|---|
void |
connect() |
Object |
getContent() |
int |
getContentLength() |
long |
getContentLengthLong() |
String |
getContentType() |
String |
getEntryName() |
InputStream |
getInputStream() |
JarEntry |
getJarEntry() |
JarFile |
getJarFile() |
URL |
getJarFileURL() |
long |
getLastModified() |
Permission |
getPermission() |
getAttributes, getCertificates, getMainAttributes, getManifestaddRequestProperty, getAllowUserInteraction, getConnectTimeout, getContent, getContentEncoding, getDate, getDefaultAllowUserInteraction, getDefaultRequestProperty, getDefaultUseCaches, getDoInput, getDoOutput, getExpiration, getFileNameMap, getHeaderField, getHeaderField, getHeaderFieldDate, getHeaderFieldInt, getHeaderFieldKey, getHeaderFieldLong, getHeaderFields, getIfModifiedSince, getOutputStream, getReadTimeout, getRequestProperties, getRequestProperty, getURL, getUseCaches, guessContentTypeFromName, guessContentTypeFromStream, setAllowUserInteraction, setConnectTimeout, setContentHandlerFactory, setDefaultAllowUserInteraction, setDefaultRequestProperty, setDefaultUseCaches, setDoInput, setDoOutput, setFileNameMap, setIfModifiedSince, setReadTimeout, setRequestProperty, setUseCaches, toStringpublic void connect()
throws IOException
connect 在类中 URLConnectionIOExceptionpublic JarFile getJarFile() throws IOException
getJarFile 在类中 JarURLConnectionIOExceptionpublic URL getJarFileURL()
getJarFileURL 在类中 JarURLConnectionpublic JarEntry getJarEntry() throws IOException
getJarEntry 在类中 JarURLConnectionIOExceptionpublic String getEntryName()
getEntryName 在类中 JarURLConnectionpublic InputStream getInputStream() throws IOException
getInputStream 在类中 URLConnectionIOExceptionpublic int getContentLength()
getContentLength 在类中 URLConnectionpublic long getContentLengthLong()
getContentLengthLong 在类中 URLConnectionpublic Object getContent() throws IOException
getContent 在类中 URLConnectionIOExceptionpublic String getContentType()
getContentType 在类中 URLConnectionpublic Permission getPermission() throws IOException
getPermission 在类中 URLConnectionIOExceptionpublic long getLastModified()
getLastModified 在类中 URLConnectionCopyright © 2019. All rights reserved.