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

FileOwnerQueryImplementation (NetBeans Project API) - NetBeans API Javadoc 5.0.0

 

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

public 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

public 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

 

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