|
org.netbeans.modules.j2ee.persistenceapi/1 1.0.20 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.netbeans.modules.j2ee.persistence.api.PersistenceLocation
public final class PersistenceLocation
This class allows retrieving the default persistence location in a project or creating this location if it doesn't exist.
Method Summary | |
---|---|
static org.openide.filesystems.FileObject |
createLocation(org.netbeans.api.project.Project project)
Creates the default persistence location in the given project. |
static org.openide.filesystems.FileObject |
getLocation(org.netbeans.api.project.Project project)
Returns the default persistence location in the given project. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static org.openide.filesystems.FileObject getLocation(org.netbeans.api.project.Project project)
project
- the project.
public static org.openide.filesystems.FileObject createLocation(org.netbeans.api.project.Project project) throws IOException
project
- the project.
IOException
- if the persistence location could not be created
or the project did not have an implementation of
PersistenceLocationProvider in its lookup.
|
org.netbeans.modules.j2ee.persistenceapi/1 1.0.20 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |