org.apache.tools.ant.taskdefs.compilers

Interface CompilerAdapterExtension

public interface CompilerAdapterExtension

Extension interface for compilers that support source extensions other than .java.

Since: Ant 1.8.2

Method Summary
String[]getSupportedFileExtensions()
Returns a list of source file extensions that are recognized by this compiler adapter.

Method Detail

getSupportedFileExtensions

public String[] getSupportedFileExtensions()
Returns a list of source file extensions that are recognized by this compiler adapter.

For example, most compiler adapters will return [ "java" ], but a compiler adapter that can compile both Java and Groovy source code would return [ "java", "groovy" ].

Returns: list of source file extensions recognized by this compiler adapter.