public class ModuleNames
extends java.lang.Object
Modifier and Type | Method and 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.
|
public static java.lang.String fileToModuleName(java.lang.String path)
public static java.lang.String fileToJsIdentifier(java.lang.String path)
Copyright © 2009-2020 Google. All Rights Reserved.