Interface ModuleDataService

    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.nio.file.Path DATAPATH
      When a JPMS module is searched for resources, they must be in within this directory in the module.
      static java.nio.file.Path DEPRECATED_PATH
      Deprecated.
      This will no longer be used as a default search path within modules
    • Method Summary

      Modifier and Type Method Description
      java.io.InputStream getInputStream​(java.nio.file.Path dataPath, java.nio.file.Path... searchPaths)  
    • Field Detail

      • DATAPATH

        static final java.nio.file.Path DATAPATH
        When a JPMS module is searched for resources, they must be in within this directory in the module. This allows files to be bundled with a module in its distinct namespace without requiring package level encapsulation.
      • DEPRECATED_PATH

        static final java.nio.file.Path DEPRECATED_PATH
        Deprecated.
        This will no longer be used as a default search path within modules
    • Method Detail

      • getInputStream

        java.io.InputStream getInputStream​(java.nio.file.Path dataPath,
                                           java.nio.file.Path... searchPaths)