Class ModuleNames


  • public class ModuleNames
    extends java.lang.Object
    Static methods related to module names.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.lang.String fileToJsIdentifier​(java.lang.String path)
      Returns a module name for an absolute path, with no resolution or checking.
      static java.lang.String fileToModuleName​(java.lang.String path)
      Returns a module name for an absolute path, with no resolution or checking.
      • Methods inherited from class java.lang.Object

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

      • fileToModuleName

        public static java.lang.String fileToModuleName​(java.lang.String path)
        Returns a module name for an absolute path, with no resolution or checking.
      • fileToJsIdentifier

        public static java.lang.String fileToJsIdentifier​(java.lang.String path)
        Returns a module name for an absolute path, with no resolution or checking.