|
org.netbeans.modules.projectapi/1 1.36.1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ProjectFactory2
Create in-memory projects from disk directories. Instances should be registered into default lookup as ProjectFactory instances.
Method Summary | |
---|---|
ProjectManager.Result |
isProject2(FileObject projectDirectory)
Test whether a given directory probably refers to a project recognized by this factory without actually trying to create it. |
Methods inherited from interface org.netbeans.spi.project.ProjectFactory |
---|
isProject, loadProject, saveProject |
Method Detail |
---|
ProjectManager.Result isProject2(FileObject projectDirectory)
Should be as fast as possible as it might be called sequentially on a lot of directories.
Need not be definite; it is permitted to return null or throw an exception
from ProjectFactory.loadProject(org.openide.filesystems.FileObject, org.netbeans.spi.project.ProjectState)
even when returning Result
instance from this
method, in case the directory looked like a project directory but in fact
had something wrong with it.
Will be called inside read access.
projectDirectory
- a directory which might refer to a project
|
org.netbeans.modules.projectapi/1 1.36.1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |