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

FileOwnerQueryImplementation (NetBeans Project API) - NetBeans API Javadoc 5.5.0

org.netbeans.modules.projectapi/1 1.9.22

org.netbeans.spi.project
Interface FileOwnerQueryImplementation


public interface FileOwnerQueryImplementation

Knowledge of which project some files belong to.

See Also:
FileOwnerQuery

Method Summary
 Project getOwner(FileObject file)
          Decide which project, if any, "owns" a given file.
 Project getOwner(URI file)
          Decide which project, if any, "owns" a given file.
 

Method Detail

getOwner

Project getOwner(URI file)
Decide which project, if any, "owns" a given file.

Parameters:
file - an absolute URI to some file (typically on disk; need not currently exist)
Returns:
a project which owns it, or null for no response

getOwner

Project getOwner(FileObject file)
Decide which project, if any, "owns" a given file.

Parameters:
file - FileObject of an existing file
Returns:
a project which owns it, or null for no response

org.netbeans.modules.projectapi/1 1.9.22

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