Java File Path Create buildPathToApiTargetFolder(String apiPackageName, String path)

Here you can find the source of buildPathToApiTargetFolder(String apiPackageName, String path)

Description

build Path To Api Target Folder

License

Open Source License

Declaration

public static String buildPathToApiTargetFolder(String apiPackageName, String path) 

Method Source Code

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

public class Main {
    public static String buildPathToApiTargetFolder(String apiPackageName, String path) {
        return path + convertPackageNameToFolderPath(apiPackageName);
    }/*from   ww w  . ja va2  s.c  o  m*/

    private static String convertPackageNameToFolderPath(String packageName) {
        return packageName.replaceAll("\\.", "/");
    }
}

Related

  1. buildPath(String... paths)
  2. buildPath(String... strings)
  3. buildPath(String[] seperatedName)
  4. buildPathArray(String xpath)
  5. buildPathString(String[] folders, boolean addDefaultValues)
  6. filePath(String compchartimage)
  7. filePath(String dirPath, String fileName)
  8. filePath2PackageName(String entryName)
  9. filePathBlackList(String value)