|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Permits providers to return specification source level of Java source file.
A default implementation is registered by the
org.netbeans.modules.java.project
module which looks up the
project corresponding to the file (if any) and checks whether that
project has an implementation of this interface in its lookup. If so, it
delegates to that implementation. Therefore it is not generally necessary
for a project type provider to register its own global implementation of
this query, if it depends on the Java Project module and uses this style.
SourceLevelQuery
,
FileOwnerQuery
,
Project
,
ClassPath.BOOT
Method Summary | |
String |
getSourceLevel(FileObject javaFile)
Returns source level of the given Java file. |
Method Detail |
public String getSourceLevel(FileObject javaFile)
-source
command line switch of
javac
compiler .
javaFile
- Java source file in question
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |