java.lang.Object
java.net.URLConnection
org.gjt.sp.jedit.proto.jeditresource.PluginResURLConnection
An implementation of jeditresource:/ url protocol.
Can be used for accessing jEdit core resources as well.
-
Field Summary
Fields inherited from class java.net.URLConnection
allowUserInteraction, connected, doInput, doOutput, ifModifiedSince, url, useCaches
-
Constructor Summary
-
Method Summary
Methods inherited from class java.net.URLConnection
addRequestProperty, getAllowUserInteraction, getConnectTimeout, getContent, getContent, getContentEncoding, getContentLength, getContentLengthLong, getContentType, getDate, getDefaultAllowUserInteraction, getDefaultRequestProperty, getDefaultUseCaches, getDefaultUseCaches, getDoInput, getDoOutput, getExpiration, getFileNameMap, getHeaderField, getHeaderFieldDate, getHeaderFieldInt, getHeaderFieldKey, getHeaderFieldLong, getHeaderFields, getIfModifiedSince, getLastModified, getOutputStream, getPermission, getReadTimeout, getRequestProperties, getRequestProperty, getURL, getUseCaches, guessContentTypeFromName, guessContentTypeFromStream, setAllowUserInteraction, setConnectTimeout, setContentHandlerFactory, setDefaultAllowUserInteraction, setDefaultRequestProperty, setDefaultUseCaches, setDefaultUseCaches, setDoInput, setDoOutput, setFileNameMap, setIfModifiedSince, setReadTimeout, setRequestProperty, setUseCaches, toString
-
Constructor Details
-
PluginResURLConnection
- Throws:
IOException
-
-
Method Details
-
connect
- Specified by:
connect
in classURLConnection
- Throws:
IOException
- on errorFileNotFoundException
- if resource is not found
-
getInputStream
- Overrides:
getInputStream
in classURLConnection
- Returns:
- input stream to read the resource's contents. never null
- Throws:
IOException
- on errorFileNotFoundException
- if resource is not found
-
getHeaderField
- Overrides:
getHeaderField
in classURLConnection
-