public static String createFolderPath ( String path ) { String [ ] pathParts = path . split ( "\\." ) ; String path2 = "" ; for ( String part : pathParts ) { if ( path2 . equals ( "" ) ) { path2 = part ; } else { path2 = path2 + File . separator + changeFirstLetterToLowerCase ( createClassName ( part ) ) ; } } return path2 ; }
This method changes package_path into folder s path