Top Description Methods
org.apache.tools.ant.taskdefs.compilers

public Interface CompilerAdapterExtension

Known Direct Implementers
org.apache.tools.ant.taskdefs.compilers.DefaultCompilerAdapter

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

Method Summary

Modifier and TypeMethod and Description
public String[]

Returns:

list of source file extensions recognized by this compiler adapter.
getSupportedFileExtensions
()

Returns a list of source file extensions that are recognized by this compiler adapter.

Method Detail

getSupportedFileExtensionsback to summary
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:String[]

list of source file extensions recognized by this compiler adapter.