Extension SDK 10.1.2


oracle.jdeveloper.compiler
Class IdeStorage

java.lang.Object
  extended byoracle.jdeveloper.compiler.IdeStorage


public class IdeStorage
extends java.lang.Object

The IdeStorage implements compiler Storage interface and manages input/output for files stored in the IDE process memory.

See Also:
Storage

Field Summary
Document document

Constructor Summary
IdeStorage(Document document)

Method Summary
void close()
Storage create(java.lang.String name)
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()
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

Field Detail

document

public Document document

Constructor Detail

IdeStorage

public IdeStorage(Document document)

Method Detail

setContext

public Storage setContext(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
Throws:
java.io.IOException

read

public int read(byte[] buf)
         throws java.io.IOException
Throws:
java.io.IOException

write

public void write(byte[] xs,
                  int start,
                  int len)
           throws java.io.IOException
Throws:
java.io.IOException

list

public java.lang.String[] list()
                        throws java.io.IOException
Throws:
java.io.IOException

open

public Storage open(java.lang.String name)

openDir

public Storage openDir(java.lang.String name)

create

public Storage create(java.lang.String name)
               throws java.io.IOException
Throws:
java.io.IOException

createDir

public Storage createDir(java.lang.String name)
                  throws java.io.IOException
Throws:
java.io.IOException

close

public void close()

Extension SDK


Copyright © 1997, 2004, Oracle. All rights reserved.