|
Extension SDK 10.1.2 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object oracle.jdeveloper.compiler.JarStorage
Implementation of Storage
interface for jar entries.
This is basically a wrapper for URLFileSystem
.
Constructor Summary | |
JarStorage(java.net.URL jarURL)
The implementation assumes that the jar URL uses the "file" protocol for the jar file. |
Method Summary | |
void |
close()
|
Storage |
create(java.lang.String name)
|
Storage |
createDir(java.lang.String name)
|
boolean |
equals(java.lang.Object o)
|
java.lang.String |
getCanonicalPath()
|
java.lang.String |
getName()
|
java.lang.String |
getParent()
|
java.lang.String |
getPath()
|
java.lang.Object |
getProperty(java.lang.String property)
|
java.net.URL |
getURL()
|
int |
hashCode()
|
boolean |
isDirectory()
|
boolean |
isInJar()
is this store contained in a zip/jar file? |
java.lang.String[] |
list()
|
long |
modDate()
|
Storage |
open(java.lang.String name)
|
Storage |
openDir(java.lang.String name)
|
byte[] |
read()
|
int |
read(byte[] buf)
|
Storage |
setContext(Storage newContext)
|
void |
setPackage(java.lang.String packageName)
|
void |
setProperty(java.lang.String property,
java.lang.Object value)
|
java.lang.String |
toString()
|
void |
write(byte[] xs,
int start,
int len)
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public JarStorage(java.net.URL jarURL)
Method Detail |
public boolean equals(java.lang.Object o)
public int hashCode()
public java.lang.String toString()
public long modDate()
public java.net.URL getURL()
public java.lang.String getName()
public java.lang.String getPath()
public java.lang.String getCanonicalPath()
public java.lang.String getParent()
public java.lang.Object getProperty(java.lang.String property)
public void setProperty(java.lang.String property, java.lang.Object value)
public boolean isDirectory()
public boolean isInJar()
public void close()
public java.lang.String[] list() throws java.io.IOException
java.io.IOException
public Storage open(java.lang.String name)
public Storage openDir(java.lang.String name)
public byte[] read() throws java.io.IOException
java.io.IOException
public int read(byte[] buf) throws java.io.IOException
java.io.IOException
public Storage setContext(Storage newContext)
public void setPackage(java.lang.String packageName)
public void write(byte[] xs, int start, int len) throws java.io.IOException
java.io.IOException
public Storage create(java.lang.String name) throws java.io.IOException
java.io.IOException
public Storage createDir(java.lang.String name) throws java.io.IOException
java.io.IOException
|
Extension SDK | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 1997, 2004, Oracle. All rights reserved.