ClassPathUtils.java
1.68 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
package org.apache.commons.lang3;
public class ClassPathUtils
{
public static String toFullyQualifiedName(Class<?> paramClass, String paramString)
{
Validate.notNull(paramClass, "Parameter '%s' must not be null!", new Object[] { "context" });
Validate.notNull(paramString, "Parameter '%s' must not be null!", new Object[] { "resourceName" });
return toFullyQualifiedName(paramClass.getPackage(), paramString);
}
public static String toFullyQualifiedName(Package paramPackage, String paramString)
{
Validate.notNull(paramPackage, "Parameter '%s' must not be null!", new Object[] { "context" });
Validate.notNull(paramString, "Parameter '%s' must not be null!", new Object[] { "resourceName" });
return paramPackage.getName() + "." + paramString;
}
public static String toFullyQualifiedPath(Class<?> paramClass, String paramString)
{
Validate.notNull(paramClass, "Parameter '%s' must not be null!", new Object[] { "context" });
Validate.notNull(paramString, "Parameter '%s' must not be null!", new Object[] { "resourceName" });
return toFullyQualifiedPath(paramClass.getPackage(), paramString);
}
public static String toFullyQualifiedPath(Package paramPackage, String paramString)
{
Validate.notNull(paramPackage, "Parameter '%s' must not be null!", new Object[] { "context" });
Validate.notNull(paramString, "Parameter '%s' must not be null!", new Object[] { "resourceName" });
return paramPackage.getName().replace('.', '/') + "/" + paramString;
}
}
/* Location: /home/merong/decompile/hackery-dex2jar.jar!/org/apache/commons/lang3/ClassPathUtils.class
* Java compiler version: 6 (50.0)
* JD-Core Version: 0.7.1
*/