137138139140141142143
/** * TextTools located on a server (forward to some implementation) * @param remote servlet */ public TextTools(URL servlet){ sender = new Sender(servlet); }
146147148149150151152153154155
* TextTools located on a server (forward to some implementation) * @param remote servlet */ public TextTools(){ try{ sender = new Sender(new URL(DEFAULT_TEXT_TOOLS_URL)); }catch(Exception ex){ ex.printStackTrace(); } }
28293031323334
/** * Terminology located on a server (forward to some implementation) * @param remote servlet */ public RemoteTerminology(URL servlet){ sender = new Sender(servlet); }
37383940414243444546
* Terminology located on a server (forward to some implementation) * @param remote servlet */ public RemoteTerminology(){ try { sender = new Sender(new URL(DEFAULT_SERVER)); } catch (MalformedURLException e) { e.printStackTrace(); } }