Here you can find the source of makePathFile(String javaConnectorSourcePath, String packageName, String className)
Parameter | Description |
---|---|
javaConnectorSourcePath | the java connector source path |
packageName | the package name |
className | the class name |
public static String makePathFile(String javaConnectorSourcePath, String packageName, String className)
//package com.java2s; //License from project: Apache License import java.io.File; public class Main { /**/*from w w w.j a v a 2 s. c o m*/ * Make path file. * * @param javaConnectorSourcePath the java connector source path * @param packageName the package name * @param className the class name * @return the string */ public static String makePathFile(String javaConnectorSourcePath, String packageName, String className) { String p = packageName.replace(".", File.separator); return javaConnectorSourcePath + File.separator + p + File.separator + className + ".java"; } }