|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK 11g Release 2 (11.1.2.4.0) E17493-05 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectoracle.ide.file.FileTable
oracle.ide.file.FileSetTable
public abstract class FileSetTable
Abstract base class for file table implementations based on FileSet.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class oracle.ide.file.FileTable |
|---|
FileTable.FileChangeImpl |
| Field Summary | |
|---|---|
protected FileSet |
fileSet
The file set for this file table. |
| Fields inherited from class oracle.ide.file.FileTable |
|---|
FIRST_VERSION, INVALID_FILE_ID, IS_KAVA_TEST, listeners, LOGGER, REMOVED_VERSION, storage |
| Constructor Summary | |
|---|---|
protected |
FileSetTable(Storage storage,
FileSet fileSet)
|
| Method Summary | |
|---|---|
protected static void |
checkInterrupt()
Check if the calling thread has been interrupted. |
boolean |
contains(java.net.URL url)
Determine whether this scope contains a URL. |
protected java.lang.String |
getBaseNameSpaceKey()
Get the base namespace key used to store file table data. |
abstract java.util.Collection<java.lang.String> |
getDirectoryPaths()
Get the paths of all directories in this table, relative to the file set root. |
abstract java.util.Collection<java.lang.String> |
getFilePaths()
Get the paths of all files in this table, relative to the file set root. |
abstract java.util.Collection<java.lang.String> |
getFiles(java.lang.String relativePath)
Get the names of all files in a directory. |
FileSet |
getFileSet()
Get the file set for this table. |
protected FileSetFilter |
getFilter()
Get the filter used when refreshing this file table. |
static FileSetTable |
getInstance(Storage storage,
FileSet fileSet)
Get the file table for a file set. |
java.lang.String |
getRelativePath(java.net.URL url)
Get the path of a URL relative to the root of this file table. |
java.lang.String |
getStorageKey()
Get a unique identifier for this file table. |
abstract java.util.Collection<java.lang.String> |
getSubdirectories(java.lang.String relativePath)
Get the names of all subdirectories in a directory. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface oracle.ide.file.FileScope |
|---|
getDirectories, getFiles, locate, refresh, update |
| Field Detail |
|---|
protected final FileSet fileSet
| Constructor Detail |
|---|
protected FileSetTable(Storage storage,
FileSet fileSet)
| Method Detail |
|---|
public static FileSetTable getInstance(@NotNull
Storage storage,
@NotNull
FileSet fileSet)
storage - the storage where the file table is storedfileSet - the file set defining which files are in the table
public FileSet getFileSet()
public java.lang.String getRelativePath(java.net.URL url)
FileTable
getRelativePath in class FileTableurl - the URL
null if the URL cannot be made
relative to this file table
public abstract java.util.Collection<java.lang.String> getFilePaths()
throws java.io.IOException,
java.lang.InterruptedException
java.io.IOException - if the file table could not be read
java.lang.InterruptedException - if the calling thread is interrupted
public abstract java.util.Collection<java.lang.String> getDirectoryPaths()
throws java.io.IOException,
java.lang.InterruptedException
java.io.IOException - if the file table could not be read
java.lang.InterruptedException - if the calling thread is interrupted
public abstract java.util.Collection<java.lang.String> getSubdirectories(java.lang.String relativePath)
throws java.io.IOException,
java.lang.InterruptedException
relativePath - the relative path of the directory
java.io.IOException - if the file table could not be read
java.lang.InterruptedException - if the calling thread is interrupted
public abstract java.util.Collection<java.lang.String> getFiles(java.lang.String relativePath)
throws java.io.IOException,
java.lang.InterruptedException
relativePath - the relative path of the directory
java.io.IOException - if the file table could not be read
java.lang.InterruptedException - if the calling thread is interruptedpublic boolean contains(java.net.URL url)
FileScope
url - the URL
true if this scope contains the URL,
false otherwisepublic java.lang.String getStorageKey()
FileTable
getStorageKey in class FileTableprotected java.lang.String getBaseNameSpaceKey()
protected static void checkInterrupt()
throws java.lang.InterruptedException
java.lang.InterruptedException - if the calling thread has been interruptedpublic java.lang.String toString()
toString in class java.lang.Objectprotected FileSetFilter getFilter()
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK 11g Release 2 (11.1.2.4.0) E17493-05 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||