MCPcopy Create free account
hub / github.com/GateNLP/gate-core / determinePath

Method determinePath

src/main/java/gate/creole/BootStrap.java:468–477  ·  view source on GitHub ↗

determines the name of the packages and adds them to a list

(String packageName)

Source from the content-addressed store, hash-verified

466 /** determines the name of the packages and adds them to a list
467 */
468 public List<String> determinePath (String packageName)throws IOException {
469 List<String> list = new ArrayList<String>();
470 StringTokenizer token = new StringTokenizer(packageName,".");
471 //if (token.countTokens()>1) {
472 while (token.hasMoreTokens()) {
473 list.add(token.nextToken());
474 }
475 //} else list.add(packageName);
476 return list;
477 }
478
479 /** verify if the class name contains only letters and digits
480 * the path of the new project is a directory

Callers 1

createResourceMethod · 0.95

Calls 1

addMethod · 0.65

Tested by

no test coverage detected