org.sonar.batch.util
Class DeprecatedKeyUtils
java.lang.Object
org.sonar.batch.util.DeprecatedKeyUtils
public class DeprecatedKeyUtils
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getJavaFileParentDeprecatedKey
public static String getJavaFileParentDeprecatedKey(String deprecatedJavaFileKey)
- Return the parent directory deprecated key for a given deprecated Java file key.
"com.foo.Bar" -> "com/foo"
"[root].Bar" -> "[root]"
"Bar" -> "[root]"
getJavaFileDeprecatedKey
public static String getJavaFileDeprecatedKey(String sourceRelativePath)
- Return the deprecated key of a Java file given its path relative to source directory.
Copyright © 2009–2015 SonarSource. All rights reserved.