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 July 11 2007.  |  Portions Copyright 1997-2005 Sun Microsystems, Inc. All rights reserved.