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

Method registerCreoleUrls

src/main/java/gate/Main.java:118–131  ·  view source on GitHub ↗

Register any CREOLE URLs that we got on the command line

()

Source from the content-addressed store, hash-verified

116
117 /** Register any CREOLE URLs that we got on the command line */
118 protected static void registerCreoleUrls() {
119 CreoleRegister reg = Gate.getCreoleRegister();
120 Iterator<URL> iter = pendingCreoleUrls.iterator();
121 while(iter.hasNext()) {
122 URL u = iter.next();
123 try {
124 reg.registerPlugin(new Plugin.Directory(u));
125 } catch(GateException e) {
126 Err.prln("Couldn't register CREOLE directory: " + u);
127 Err.prln(e);
128 System.exit(STATUS_ERROR);
129 }
130 }
131 } // registerCreoleUrls()
132
133 /** Main Frame of the GUI; null when no GUI running */
134 protected static MainFrame frame;

Callers 1

runGuiMethod · 0.95

Calls 6

getCreoleRegisterMethod · 0.95
registerPluginMethod · 0.95
prlnMethod · 0.95
iteratorMethod · 0.65
hasNextMethod · 0.65
nextMethod · 0.65

Tested by

no test coverage detected