org.jboss.forge.shell.util
Class Packages
java.lang.Object
org.jboss.forge.shell.util.Packages
public class Packages
- extends Object
- Author:
- Lincoln Baxter, III
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Packages
public Packages()
toFileSyntax
public static String toFileSyntax(String pkg)
- Convert a package name to file directory syntax.
Example: "com.example.package" becomes "com/example/package", using the directory separators correct for the
underlying operation system.
fromFileSyntax
public static String fromFileSyntax(String pkg)
toValidPackageName
public static String toValidPackageName(String pkg)
Copyright © 2013 JBoss by Red Hat. All Rights Reserved.