182183184185186187188
/** * TextTools located on a server (forward to some implementation) * @param remote servlet */ public TextTools(URL servlet){ sender = new Sender(servlet); }
191192193194195196197198199200
* 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(); } }
29303132333435
/** * Terminology located on a server (forward to some implementation) * @param remote servlet */ public RemoteTerminology(URL servlet){ sender = new Sender(servlet); }
38394041424344454647
* 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(); } }