Java Package Convert To packageToPath(String basePackage)

Here you can find the source of packageToPath(String basePackage)

Description

package To Path

License

Open Source License

Declaration

public static String packageToPath(String basePackage) 

Method Source Code

//package com.java2s;
//License from project: Open Source License 

public class Main {
    public static String packageToPath(String basePackage) {
        return basePackage.replaceAll("\\.", "/") + "/";
    }/*from w  w w  . j  av  a  2 s  .  c o m*/
}

Related

  1. packageToDir(String packages)
  2. packageToDirectory(String sDestDir, String sPackage)
  3. PackageToInt(char pack)
  4. packageToPath(Class objClass)
  5. packageToPath(final String packageName)
  6. packageToPath(String pkg)
  7. packageToResourcePath(String thePackage)
  8. packageToSrcFilePath(String packageName)