public class Strings
extends java.lang.Object
Strings
is a utility class that helps to manipulate String.Modifier and Type | Method and Description |
---|---|
static java.lang.String |
asClassName(java.lang.String path)
Transform a normalized resource path (org/objectweb/asm/Visitor.class) into
a fully qualified class name (format org.objectweb.asm.Visitor).
|
static java.lang.String |
asResourcePath(java.lang.String classname)
Transform a FQN of a class (format org.objectweb.asm.Visitor) into
a normalized resource name (org/objectweb/asm/Visitor.class).
|
public static java.lang.String asResourcePath(java.lang.String classname)
classname
- FQN of a class to be transformedpublic static java.lang.String asClassName(java.lang.String path)
path
- normalized resource path to be transformedCopyright © 2006-2014 The Apache Software Foundation. All Rights Reserved.