Class ExtensionLoader


  • public final class ExtensionLoader
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private static com.google.common.base.Splitter RESOURCE_SPLITTER  
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private ExtensionLoader()  
    • 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.String getClasspathResourceText​(java.net.URL requestURL)  
      private static java.lang.String getClasspathResourceText​(javax.annotation.processing.Filer filer, java.lang.String resourceName)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • RESOURCE_SPLITTER

        private static final com.google.common.base.Splitter RESOURCE_SPLITTER
    • Constructor Detail

      • ExtensionLoader

        private ExtensionLoader()
    • 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