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

Method main

src/main/java/gate/creole/BootStrap.java:655–676  ·  view source on GitHub ↗
(String[] args)

Source from the content-addressed store, hash-verified

653 } // modify
654
655 public static void main(String[] args) {
656 System.out.println(System.getProperty("path.separator"));
657 System.out.println("intre");
658 System.out.println(System.getProperty("java.class.path"));
659 BootStrap bootStrap = new BootStrap();
660 Set<String> interfaces = new HashSet<String>();
661 interfaces.add("gate.Document");
662 interfaces.add("gate.ProcessingResource");
663 try{
664
665 bootStrap.createResource("morph","creole.sheffield.ac.lisa","LanguageResource",
666 "Documente", interfaces, "z:/test");
667 } catch (GateException ge) {
668 ge.printStackTrace(Err.getPrintWriter());
669 } catch (ClassNotFoundException cnfe) {
670 cnfe.printStackTrace(Err.getPrintWriter());
671 } catch (IOException ioe) {
672 ioe.printStackTrace(Err.getPrintWriter());
673 } catch (InterruptedException ie){
674 ie.printStackTrace(Err.getPrintWriter());
675 }
676 }// main
677
678} // class BootStrap
679

Callers

nothing calls this directly

Calls 6

createResourceMethod · 0.95
getPrintWriterMethod · 0.95
getPropertyMethod · 0.65
addMethod · 0.65
printlnMethod · 0.45
printStackTraceMethod · 0.45

Tested by

no test coverage detected