org.jboss.forge.shell.util
Class Packages

java.lang.Object
  extended by org.jboss.forge.shell.util.Packages

public class Packages
extends Object

Author:
Lincoln Baxter, III

Constructor Summary
Packages()
           
 
Method Summary
static String fromFileSyntax(String pkg)
           
static String toFileSyntax(String pkg)
          Convert a package name to file directory syntax.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Packages

public Packages()
Method Detail

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)


Copyright © 2011 Seam Framework. All Rights Reserved.