Class ModuleNames
- java.lang.Object
-
- com.google.javascript.jscomp.deps.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.
-
-
-
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.
-
-