Class ModuleReader


  • public class ModuleReader
    extends java.lang.Object
    Pre-Java-9-compatible facade for Java 9's java.lang.module.ModuleReader class.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private static java.lang.Class<?> CLASS  
      private java.lang.Object delegate  
      private static java.lang.reflect.Method METHOD_list  
    • Constructor Summary

      Constructors 
      Constructor Description
      ModuleReader​(java.lang.Object delegate)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      Stream<java.lang.String> list()  
      • Methods inherited from class java.lang.Object

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

      • CLASS

        private static final java.lang.Class<?> CLASS
      • METHOD_list

        private static final java.lang.reflect.Method METHOD_list
      • delegate

        private final java.lang.Object delegate
    • Constructor Detail

      • ModuleReader

        public ModuleReader​(java.lang.Object delegate)
    • Method Detail

      • list

        public Stream<java.lang.String> list()
                                      throws java.io.IOException
        Throws:
        java.io.IOException