oracle.jdeveloper.compiler
Class IdeStorage
oracle.jdeveloper.compiler.IdeStorage
- public class IdeStorage
The IdeStorage
implements compiler Storage interface
and manages input/output for files stored in the IDE process memory.
- See Also:
Storage
Method Summary |
void |
close()
|
oracle.ojc.interfaces.Storage |
create(java.lang.String name)
|
oracle.ojc.interfaces.Storage |
createDir(java.lang.String name)
|
boolean |
equals(java.lang.Object other)
|
java.lang.String |
getCanonicalPath()
|
java.lang.String |
getName()
|
java.lang.String |
getParent()
|
java.lang.String |
getPath()
|
java.lang.Object |
getProperty(java.lang.String property)
|
int |
hashCode()
|
boolean |
isDirectory()
|
boolean |
isInJar()
is this store contained in a zip/jar file? |
java.lang.String[] |
list()
|
long |
modDate()
|
oracle.ojc.interfaces.Storage |
open(java.lang.String name)
|
oracle.ojc.interfaces.Storage |
openDir(java.lang.String name)
|
byte[] |
read()
|
int |
read(byte[] buf)
|
oracle.ojc.interfaces.Storage |
setContext(oracle.ojc.interfaces.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)
|
document
public Document document
IdeStorage
public IdeStorage(Document document)
setContext
public oracle.ojc.interfaces.Storage setContext(oracle.ojc.interfaces.Storage newContext)
setPackage
public void setPackage(java.lang.String packageName)
equals
public boolean equals(java.lang.Object other)
hashCode
public int hashCode()
toString
public java.lang.String toString()
modDate
public long modDate()
getName
public java.lang.String getName()
getPath
public java.lang.String getPath()
getCanonicalPath
public java.lang.String getCanonicalPath()
getParent
public java.lang.String getParent()
getProperty
public java.lang.Object getProperty(java.lang.String property)
setProperty
public void setProperty(java.lang.String property,
java.lang.Object value)
isDirectory
public boolean isDirectory()
isInJar
public boolean isInJar()
- is this store contained in a zip/jar file?
read
public byte[] read()
throws java.io.IOException
read
public int read(byte[] buf)
throws java.io.IOException
write
public void write(byte[] xs,
int start,
int len)
throws java.io.IOException
list
public java.lang.String[] list()
throws java.io.IOException
open
public oracle.ojc.interfaces.Storage open(java.lang.String name)
openDir
public oracle.ojc.interfaces.Storage openDir(java.lang.String name)
create
public oracle.ojc.interfaces.Storage create(java.lang.String name)
throws java.io.IOException
createDir
public oracle.ojc.interfaces.Storage createDir(java.lang.String name)
throws java.io.IOException
close
public void close()