Package org.immutables.generator
Class ExtensionLoader
- java.lang.Object
-
- org.immutables.generator.ExtensionLoader
-
public final class ExtensionLoader extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description private static com.google.common.base.SplitterRESOURCE_SPLITTER
-
Constructor Summary
Constructors Modifier Constructor Description privateExtensionLoader()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static com.google.common.base.Supplier<com.google.common.collect.ImmutableSet<java.lang.String>>findExtensions(java.lang.String resource)private static java.lang.StringgetClasspathResourceText(java.net.URL requestURL)private static java.lang.StringgetClasspathResourceText(javax.annotation.processing.Filer filer, java.lang.String resourceName)
-
-
-
Method Detail
-
findExtensions
public static com.google.common.base.Supplier<com.google.common.collect.ImmutableSet<java.lang.String>> findExtensions(java.lang.String resource)
-
getClasspathResourceText
private static java.lang.String getClasspathResourceText(javax.annotation.processing.Filer filer, java.lang.String resourceName) throws java.io.IOException- Throws:
java.io.IOException
-
getClasspathResourceText
private static java.lang.String getClasspathResourceText(java.net.URL requestURL) throws java.io.IOException- Throws:
java.io.IOException
-
-