public interface ProjectFactory2 extends ProjectFactory
|Modifier and Type||Method and Description|
Test whether a given directory probably refers to a project recognized by this factory without actually trying to create it.
isProject, loadProject, saveProject
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
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