Here you can find the source of buildPathToApiTargetFolder(String apiPackageName, String path)
public static String buildPathToApiTargetFolder(String apiPackageName, String path)
//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("\\.", "/"); } }