Package org.codehaus.groovy.control

# Class SourceExtensionHandler

java.lang.Object
org.codehaus.groovy.control.SourceExtensionHandler

public class SourceExtensionHandler extends Object
Looks for source file extensions in META-INF/services/org.codehaus.groovy.source.Extensions

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `SourceExtensionHandler()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `static Set<String>`
  `getRegisteredExtensions(ClassLoader loader)`
  Loads the registered source file extensions visible to the supplied class loader.

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### SourceExtensionHandler

    public SourceExtensionHandler()

- ## Method Details

  - ### getRegisteredExtensions

    public static Set<String> getRegisteredExtensions(ClassLoader loader)
    Loads the registered source file extensions visible to the supplied class loader.
    Parameters:
      `loader` - the class loader used to discover extension descriptors
    Returns:
      the registered source extensions, including `groovy`