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
Constructors -
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:
connectin classURLConnection- Throws:
IOException- on errorFileNotFoundException- if resource is not found
-
getInputStream
- Overrides:
getInputStreamin classURLConnection- Returns:
- input stream to read the resource's contents. never null
- Throws:
IOException- on errorFileNotFoundException- if resource is not found
-
getHeaderField
- Overrides:
getHeaderFieldin classURLConnection
-