org.jetbrains.k2js.config
Class MetaInfServices

java.lang.Object
  extended by org.jetbrains.k2js.config.MetaInfServices

public final class MetaInfServices
extends java.lang.Object

A helper class to discover a META-INF/services file on the classpath and load the files referenced inside it


Method Summary
static java.io.InputStream loadClasspathResource(java.lang.String resourceName)
          Tries to load the given resource name on the classpath
static java.util.List<JetFile> loadServicesFiles(java.lang.String metaInfServicesFile, com.intellij.openapi.project.Project project)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

loadServicesFiles

public static java.util.List<JetFile> loadServicesFiles(@NotNull
                                                        java.lang.String metaInfServicesFile,
                                                        @NotNull
                                                        com.intellij.openapi.project.Project project)

loadClasspathResource

public static java.io.InputStream loadClasspathResource(java.lang.String resourceName)
Tries to load the given resource name on the classpath