站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > NetBeans API Javadoc 5.5.0

CacheDirectoryProvider (NetBeans Project API) - NetBeans API Javadoc 5.5.0

org.netbeans.modules.projectapi/1 1.9.22

org.netbeans.spi.project
Interface CacheDirectoryProvider


public interface CacheDirectoryProvider

Ability for a project to permit other modules to store arbitrary cache data associated with the project.

See Also:
Project.getLookup()

Method Summary
 FileObject getCacheDirectory()
          Get a directory in which modules may store disposable cached information about the project, such as an index of classes it contains.
 

Method Detail

getCacheDirectory

FileObject getCacheDirectory()
                             throws IOException
Get a directory in which modules may store disposable cached information about the project, such as an index of classes it contains. This directory should be considered non-sharable by SharabilityQuery. Modules are responsible for preventing name clashes in this directory by using sufficiently unique names for child files and folders.

Returns:
a cache directory
Throws:
IOException - if it cannot be created or loaded

org.netbeans.modules.projectapi/1 1.9.22

Built on May 28 2007.  |  Portions Copyright 1997-2005 Sun Microsystems, Inc. All rights reserved.