class VirtualFileURLConnection extends AbstractURLConnection
| Modifier and Type | Field and Description |
|---|---|
private VirtualFile |
file |
| Constructor and Description |
|---|
VirtualFileURLConnection(java.net.URL url) |
| Modifier and Type | Method and Description |
|---|---|
void |
connect() |
VirtualFile |
getContent() |
int |
getContentLength() |
java.io.InputStream |
getInputStream() |
long |
getLastModified() |
protected java.lang.String |
getName() |
java.security.Permission |
getPermission() |
getContentType, getHeaderField, toURIaddRequestProperty, getAllowUserInteraction, getConnectTimeout, getContent, getContentEncoding, getContentLengthLong, getDate, getDefaultAllowUserInteraction, getDefaultRequestProperty, getDefaultUseCaches, getDoInput, getDoOutput, getExpiration, getFileNameMap, 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, toStringprivate final VirtualFile file
VirtualFileURLConnection(java.net.URL url)
throws java.io.IOException
java.io.IOExceptionpublic void connect()
throws java.io.IOException
connect in class java.net.URLConnectionjava.io.IOExceptionpublic VirtualFile getContent() throws java.io.IOException
getContent in class java.net.URLConnectionjava.io.IOExceptionpublic int getContentLength()
getContentLength in class java.net.URLConnectionpublic long getLastModified()
getLastModified in class java.net.URLConnectionpublic java.io.InputStream getInputStream()
throws java.io.IOException
getInputStream in class java.net.URLConnectionjava.io.IOExceptionpublic java.security.Permission getPermission()
throws java.io.IOException
getPermission in class java.net.URLConnectionjava.io.IOExceptionprotected java.lang.String getName()
getName in class AbstractURLConnection