| Modifier and Type | Field and Description |
|---|---|
| protected transient JarURLConnection |
| Access | Constructor and Description |
|---|---|
| pack-priv | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| protected boolean | |
| public boolean | exists()
Overrides org. |
| public static void | |
| public void | |
| public File | getFile()
Overrides org. |
| public InputStream | getInputStream()
Returns an input stream to the resource
|
| protected void | |
| public synchronized void | release()
Overrides org. |
| _jarConnection | back to summary |
|---|---|
| protected transient JarURLConnection _jarConnection | |
| JarResource | back to summary |
|---|---|
| pack-priv JarResource(URL url) | |
| JarResource | back to summary |
|---|---|
| pack-priv JarResource(URL url, boolean useCaches) | |
| checkConnection | back to summary |
|---|---|
| protected boolean checkConnection() | |
| exists | back to summary |
|---|---|
| public boolean exists() Overrides org. Returns true if the respresenetd resource exists. | |
| extract | back to summary |
|---|---|
| public static void extract(Resource resource, File directory, boolean deleteOnExit) throws IOException | |
| extract | back to summary |
|---|---|
| public void extract(File directory, boolean deleteOnExit) throws IOException | |
| getFile | back to summary |
|---|---|
| public File getFile() throws IOException Overrides org. Doc from org. Returns an File representing the given resource or NULL if this is not possible. | |
| getInputStream | back to summary |
|---|---|
| public InputStream getInputStream() throws IOException Overrides org. Doc from org. Returns an input stream to the resource | |
| newConnection | back to summary |
|---|---|
protected void newConnection() throws IOException
| |
| release | back to summary |
|---|---|
| public synchronized void release() Overrides org. Doc from org. Release any resources held by the resource. | |