ModuleFileSystem
and PathResolver
in 3.5@Deprecated public class DefaultProjectFileSystem extends Object
Constructor and Description |
---|
DefaultProjectFileSystem()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static String |
getRelativePath(File file,
File dir)
Deprecated.
getRelativePath("c:/foo/src/my/package/Hello.java", "c:/foo/src") is "my/package/Hello.java"
|
static String |
getRelativePath(File file,
List<File> dirs)
Deprecated.
getRelativePath("c:/foo/src/my/package/Hello.java", ["c:/bar", "c:/foo/src"]) is "my/package/Hello.java".
|
public DefaultProjectFileSystem()
public static String getRelativePath(File file, File dir)
public static String getRelativePath(File file, List<File> dirs)
Relative path is composed of slashes. Windows backslaches are replaced by /
Copyright © 2009-2013 SonarSource. All Rights Reserved.