Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK
11g Release 2 (11.1.2.3.0)

E17493-04


oracle.ide.index.file
Class FileTableManager

java.lang.Object
  extended by oracle.ide.index.file.FileTableManager


Deprecated. Replaced by FileTable

@Deprecated
public abstract class FileTableManager
extends java.lang.Object

Manages FileTable instances.


Constructor Summary
FileTableManager()
          Deprecated.  

 

Method Summary
 FileTable getFileTable(Project project, java.net.URL root)
          Deprecated. Get a file table for the given root directory.
abstract  FileTable getFileTable(Project project, java.net.URL root, PatternFilters filters)
          Deprecated. Get a file table for the given root directory.
static FileTableManager getFileTableManager()
          Deprecated. Get the FileTableManager implementation.
abstract  void invalidateDir(java.net.URL directory, boolean subdirs)
          Deprecated. Invalidate file table data for the given directory, and optionally its subdirectories.
abstract  void invalidateFile(java.net.URL file)
          Deprecated. Invalidate file table data for the given file.

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

FileTableManager

public FileTableManager()
Deprecated. 

Method Detail

getFileTableManager

public static FileTableManager getFileTableManager()
Deprecated. 
Get the FileTableManager implementation.
Returns:
the FileTableManager implementation

getFileTable

public FileTable getFileTable(Project project,
                              java.net.URL root)
                       throws java.lang.InterruptedException,
                              java.util.concurrent.ExecutionException
Deprecated. 
Get a file table for the given root directory. The file table is updated before this method returns. An immutable snapshot of the updated file table is returned, so the caller is guaranteed that the contents of the returned file table will not change.

It is the caller's responsibility to call FileTable.release() when they are done with the file table.

Parameters:
project - the project
root - the root directory
Returns:
the background task which updates the file table
Throws:
java.lang.InterruptedException - if the file table update is interrupted
java.util.concurrent.ExecutionException - if the file table update fails
java.util.concurrent.RejectedExecutionException - if the file table service has been shut down

getFileTable

public abstract FileTable getFileTable(Project project,
                                       java.net.URL root,
                                       PatternFilters filters)
                                throws java.lang.InterruptedException,
                                       java.util.concurrent.ExecutionException
Deprecated. 
Get a file table for the given root directory. The file table is updated before this method returns. An immutable snapshot of the updated file table is returned, so the caller is guaranteed that the contents of the returned file table will not change.

It is the caller's responsibility to call FileTable.release() when they are done with the file table.

Parameters:
project - the project
root - the root directory
filters - the filters
Returns:
the background task which updates the file table
Throws:
java.lang.InterruptedException - if the file table update is interrupted
java.util.concurrent.ExecutionException - if the file table update fails
java.util.concurrent.RejectedExecutionException - if the file table service has been shut down

invalidateFile

public abstract void invalidateFile(java.net.URL file)
Deprecated. 
Invalidate file table data for the given file.
Parameters:
file - the file to invalidate

invalidateDir

public abstract void invalidateDir(java.net.URL directory,
                                   boolean subdirs)
Deprecated. 
Invalidate file table data for the given directory, and optionally its subdirectories.
Parameters:
directory - the directory to invalidate
subdirs - whether to invalidate subdirectories

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK
11g Release 2 (11.1.2.3.0)

E17493-04


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