org.netbeans.api.java/1 1.43.1

org.netbeans.spi.java.queries
Interface SourceLevelQueryImplementation


Deprecated. use SourceLevelQueryImplementation2

@Deprecated
public interface SourceLevelQueryImplementation

Permits providers to return specification source level of Java source file.

Since:
org.netbeans.api.java/1 1.5

Method Summary
 String getSourceLevel(FileObject javaFile)
          Deprecated. Returns source level of the given Java file.
 

Method Detail

getSourceLevel

String getSourceLevel(FileObject javaFile)
Deprecated. 
Returns source level of the given Java file. For acceptable return values see the documentation of -source command line switch of javac compiler .

Parameters:
javaFile - Java source file in question
Returns:
source level of the Java file, e.g. "1.3", "1.4" or "1.5", or null if it is not known. It is allowed to return source level synonyms e.g. "5" for "1.5". These synonyms are always normalized by SourceLevelQuery.getSourceLevel(org.openide.filesystems.FileObject).

org.netbeans.api.java/1 1.43.1

Built on February 14 2013.  |  Portions Copyright 1997-2013 Oracle. All rights reserved.