1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
5 <!-- Generated by javadoc (1.8.0_121) on Fri Apr 21 15:32:50 BST 2017 -->
7 <meta name="date" content="2017-04-21">
8 <link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style">
9 <script type="text/javascript" src="../../../script.js"></script>
12 <script type="text/javascript"><!--
14 if (location.href.indexOf('is-external=true') == -1) {
15 parent.document.title="GAUtils";
21 var methods = {"i0":9,"i1":9,"i2":9,"i3":9,"i4":9};
22 var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],8:["t4","Concrete Methods"]};
23 var altColor = "altColor";
24 var rowColor = "rowColor";
25 var tableTab = "tableTab";
26 var activeTableTab = "activeTableTab";
29 <div>JavaScript is disabled on your browser.</div>
31 <!-- ========= START OF TOP NAVBAR ======= -->
32 <div class="topNav"><a name="navbar.top">
35 <div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
36 <a name="navbar.top.firstrow">
39 <ul class="navList" title="Navigation">
40 <li><a href="../../../overview-summary.html">Overview</a></li>
41 <li><a href="package-summary.html">Package</a></li>
42 <li class="navBarCell1Rev">Class</li>
43 <li><a href="class-use/GAUtils.html">Use</a></li>
44 <li><a href="package-tree.html">Tree</a></li>
45 <li><a href="../../../deprecated-list.html">Deprecated</a></li>
46 <li><a href="../../../index-files/index-1.html">Index</a></li>
47 <li><a href="../../../help-doc.html">Help</a></li>
52 <li><a href="../../../compbio/ws/server/DisemblWS.html" title="class in compbio.ws.server"><span class="typeNameLink">Prev Class</span></a></li>
53 <li><a href="../../../compbio/ws/server/GenericMetadataService.html" title="class in compbio.ws.server"><span class="typeNameLink">Next Class</span></a></li>
56 <li><a href="../../../index.html?compbio/ws/server/GAUtils.html" target="_top">Frames</a></li>
57 <li><a href="GAUtils.html" target="_top">No Frames</a></li>
59 <ul class="navList" id="allclasses_navbar_top">
60 <li><a href="../../../allclasses-noframe.html">All Classes</a></li>
63 <script type="text/javascript"><!--
64 allClassesLink = document.getElementById("allclasses_navbar_top");
66 allClassesLink.style.display = "block";
69 allClassesLink.style.display = "none";
75 <ul class="subNavList">
76 <li>Summary: </li>
77 <li>Nested | </li>
78 <li><a href="#field.summary">Field</a> | </li>
79 <li><a href="#constructor.summary">Constr</a> | </li>
80 <li><a href="#method.summary">Method</a></li>
82 <ul class="subNavList">
83 <li>Detail: </li>
84 <li><a href="#field.detail">Field</a> | </li>
85 <li><a href="#constructor.detail">Constr</a> | </li>
86 <li><a href="#method.detail">Method</a></li>
89 <a name="skip.navbar.top">
92 <!-- ========= END OF TOP NAVBAR ========= -->
93 <!-- ======== START OF CLASS DATA ======== -->
95 <div class="subTitle">compbio.ws.server</div>
96 <h2 title="Class GAUtils" class="title">Class GAUtils</h2>
98 <div class="contentContainer">
99 <ul class="inheritance">
100 <li>java.lang.Object</li>
102 <ul class="inheritance">
103 <li>compbio.ws.server.GAUtils</li>
107 <div class="description">
108 <ul class="blockList">
109 <li class="blockList">
112 <pre>public class <span class="typeNameLabel">GAUtils</span>
113 extends java.lang.Object</pre>
117 <div class="summary">
118 <ul class="blockList">
119 <li class="blockList">
120 <!-- =========== FIELD SUMMARY =========== -->
121 <ul class="blockList">
122 <li class="blockList"><a name="field.summary">
125 <h3>Field Summary</h3>
126 <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation">
127 <caption><span>Fields</span><span class="tabEnd"> </span></caption>
129 <th class="colFirst" scope="col">Modifier and Type</th>
130 <th class="colLast" scope="col">Field and Description</th>
132 <tr class="altColor">
133 <td class="colFirst"><code>private static compbio.stat.ga.AnalyticsConfigData</code></td>
134 <td class="colLast"><code><span class="memberNameLink"><a href="../../../compbio/ws/server/GAUtils.html#config">config</a></span></code> </td>
136 <tr class="rowColor">
137 <td class="colFirst"><code>(package private) static boolean</code></td>
138 <td class="colLast"><code><span class="memberNameLink"><a href="../../../compbio/ws/server/GAUtils.html#IS_GA_ENABLED">IS_GA_ENABLED</a></span></code> </td>
140 <tr class="altColor">
141 <td class="colFirst"><code>private static org.apache.log4j.Logger</code></td>
142 <td class="colLast"><code><span class="memberNameLink"><a href="../../../compbio/ws/server/GAUtils.html#log">log</a></span></code> </td>
144 <tr class="rowColor">
145 <td class="colFirst"><code>(package private) static compbio.util.PropertyHelper</code></td>
146 <td class="colLast"><code><span class="memberNameLink"><a href="../../../compbio/ws/server/GAUtils.html#PROP_HELPER">PROP_HELPER</a></span></code> </td>
148 <tr class="altColor">
149 <td class="colFirst"><code>private static java.lang.String</code></td>
150 <td class="colLast"><code><span class="memberNameLink"><a href="../../../compbio/ws/server/GAUtils.html#SERVER_ADDRESS">SERVER_ADDRESS</a></span></code> </td>
152 <tr class="rowColor">
153 <td class="colFirst"><code>private static compbio.stat.ga.GoogleAnalyticsTracker</code></td>
154 <td class="colLast"><code><span class="memberNameLink"><a href="../../../compbio/ws/server/GAUtils.html#TRACKER">TRACKER</a></span></code> </td>
156 <tr class="altColor">
157 <td class="colFirst"><code>(package private) static java.lang.String</code></td>
158 <td class="colLast"><code><span class="memberNameLink"><a href="../../../compbio/ws/server/GAUtils.html#VERSION_TYPE">VERSION_TYPE</a></span></code> </td>
163 <!-- ======== CONSTRUCTOR SUMMARY ======== -->
164 <ul class="blockList">
165 <li class="blockList"><a name="constructor.summary">
168 <h3>Constructor Summary</h3>
169 <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
170 <caption><span>Constructors</span><span class="tabEnd"> </span></caption>
172 <th class="colOne" scope="col">Constructor and Description</th>
174 <tr class="altColor">
175 <td class="colOne"><code><span class="memberNameLink"><a href="../../../compbio/ws/server/GAUtils.html#GAUtils--">GAUtils</a></span>()</code> </td>
180 <!-- ========== METHOD SUMMARY =========== -->
181 <ul class="blockList">
182 <li class="blockList"><a name="method.summary">
185 <h3>Method Summary</h3>
186 <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
187 <caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t1" class="tableTab"><span><a href="javascript:show(1);">Static Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span></caption>
189 <th class="colFirst" scope="col">Modifier and Type</th>
190 <th class="colLast" scope="col">Method and Description</th>
192 <tr id="i0" class="altColor">
193 <td class="colFirst"><code>private static boolean</code></td>
194 <td class="colLast"><code><span class="memberNameLink"><a href="../../../compbio/ws/server/GAUtils.html#anonymizeIP--">anonymizeIP</a></span>()</code> </td>
196 <tr id="i1" class="rowColor">
197 <td class="colFirst"><code>private static java.lang.String</code></td>
198 <td class="colLast"><code><span class="memberNameLink"><a href="../../../compbio/ws/server/GAUtils.html#getServerIP--">getServerIP</a></span>()</code> </td>
200 <tr id="i2" class="altColor">
201 <td class="colFirst"><code>private static boolean</code></td>
202 <td class="colLast"><code><span class="memberNameLink"><a href="../../../compbio/ws/server/GAUtils.html#isGoogleAnalyticsEnabled--">isGoogleAnalyticsEnabled</a></span>()</code> </td>
204 <tr id="i3" class="rowColor">
205 <td class="colFirst"><code>(package private) static void</code></td>
206 <td class="colLast"><code><span class="memberNameLink"><a href="../../../compbio/ws/server/GAUtils.html#reportUsage-compbio.ws.client.Services-">reportUsage</a></span>(<a href="../../../compbio/ws/client/Services.html" title="enum in compbio.ws.client">Services</a> service)</code> </td>
208 <tr id="i4" class="altColor">
209 <td class="colFirst"><code>(package private) static void</code></td>
210 <td class="colLast"><code><span class="memberNameLink"><a href="../../../compbio/ws/server/GAUtils.html#reportUsage-compbio.ws.client.Services-java.lang.String-">reportUsage</a></span>(<a href="../../../compbio/ws/client/Services.html" title="enum in compbio.ws.client">Services</a> service,
211 java.lang.String CLIENT_ADDRESS)</code> </td>
214 <ul class="blockList">
215 <li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
218 <h3>Methods inherited from class java.lang.Object</h3>
219 <code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</code></li>
226 <div class="details">
227 <ul class="blockList">
228 <li class="blockList">
229 <!-- ============ FIELD DETAIL =========== -->
230 <ul class="blockList">
231 <li class="blockList"><a name="field.detail">
234 <h3>Field Detail</h3>
235 <a name="VERSION_TYPE">
238 <ul class="blockList">
239 <li class="blockList">
240 <h4>VERSION_TYPE</h4>
241 <pre>static final java.lang.String VERSION_TYPE</pre>
243 <dt><span class="seeLabel">See Also:</span></dt>
244 <dd><a href="../../../constant-values.html#compbio.ws.server.GAUtils.VERSION_TYPE">Constant Field Values</a></dd>
251 <ul class="blockList">
252 <li class="blockList">
254 <pre>private static final org.apache.log4j.Logger log</pre>
257 <a name="PROP_HELPER">
260 <ul class="blockList">
261 <li class="blockList">
263 <pre>static compbio.util.PropertyHelper PROP_HELPER</pre>
269 <ul class="blockList">
270 <li class="blockList">
272 <pre>private static compbio.stat.ga.AnalyticsConfigData config</pre>
278 <ul class="blockList">
279 <li class="blockList">
281 <pre>private static compbio.stat.ga.GoogleAnalyticsTracker TRACKER</pre>
284 <a name="IS_GA_ENABLED">
287 <ul class="blockList">
288 <li class="blockList">
289 <h4>IS_GA_ENABLED</h4>
290 <pre>static final boolean IS_GA_ENABLED</pre>
293 <a name="SERVER_ADDRESS">
296 <ul class="blockListLast">
297 <li class="blockList">
298 <h4>SERVER_ADDRESS</h4>
299 <pre>private static java.lang.String SERVER_ADDRESS</pre>
304 <!-- ========= CONSTRUCTOR DETAIL ======== -->
305 <ul class="blockList">
306 <li class="blockList"><a name="constructor.detail">
309 <h3>Constructor Detail</h3>
313 <ul class="blockListLast">
314 <li class="blockList">
316 <pre>public GAUtils()</pre>
321 <!-- ============ METHOD DETAIL ========== -->
322 <ul class="blockList">
323 <li class="blockList"><a name="method.detail">
326 <h3>Method Detail</h3>
327 <a name="isGoogleAnalyticsEnabled--">
330 <ul class="blockList">
331 <li class="blockList">
332 <h4>isGoogleAnalyticsEnabled</h4>
333 <pre>private static boolean isGoogleAnalyticsEnabled()</pre>
336 <a name="getServerIP--">
339 <ul class="blockList">
340 <li class="blockList">
342 <pre>private static java.lang.String getServerIP()</pre>
345 <a name="anonymizeIP--">
348 <ul class="blockList">
349 <li class="blockList">
351 <pre>private static boolean anonymizeIP()</pre>
354 <a name="reportUsage-compbio.ws.client.Services-">
357 <ul class="blockList">
358 <li class="blockList">
360 <pre>static void reportUsage(<a href="../../../compbio/ws/client/Services.html" title="enum in compbio.ws.client">Services</a> service)</pre>
363 <a name="reportUsage-compbio.ws.client.Services-java.lang.String-">
366 <ul class="blockListLast">
367 <li class="blockList">
369 <pre>static void reportUsage(<a href="../../../compbio/ws/client/Services.html" title="enum in compbio.ws.client">Services</a> service,
370 java.lang.String CLIENT_ADDRESS)</pre>
379 <!-- ========= END OF CLASS DATA ========= -->
380 <!-- ======= START OF BOTTOM NAVBAR ====== -->
381 <div class="bottomNav"><a name="navbar.bottom">
384 <div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
385 <a name="navbar.bottom.firstrow">
388 <ul class="navList" title="Navigation">
389 <li><a href="../../../overview-summary.html">Overview</a></li>
390 <li><a href="package-summary.html">Package</a></li>
391 <li class="navBarCell1Rev">Class</li>
392 <li><a href="class-use/GAUtils.html">Use</a></li>
393 <li><a href="package-tree.html">Tree</a></li>
394 <li><a href="../../../deprecated-list.html">Deprecated</a></li>
395 <li><a href="../../../index-files/index-1.html">Index</a></li>
396 <li><a href="../../../help-doc.html">Help</a></li>
401 <li><a href="../../../compbio/ws/server/DisemblWS.html" title="class in compbio.ws.server"><span class="typeNameLink">Prev Class</span></a></li>
402 <li><a href="../../../compbio/ws/server/GenericMetadataService.html" title="class in compbio.ws.server"><span class="typeNameLink">Next Class</span></a></li>
405 <li><a href="../../../index.html?compbio/ws/server/GAUtils.html" target="_top">Frames</a></li>
406 <li><a href="GAUtils.html" target="_top">No Frames</a></li>
408 <ul class="navList" id="allclasses_navbar_bottom">
409 <li><a href="../../../allclasses-noframe.html">All Classes</a></li>
412 <script type="text/javascript"><!--
413 allClassesLink = document.getElementById("allclasses_navbar_bottom");
415 allClassesLink.style.display = "block";
418 allClassesLink.style.display = "none";
424 <ul class="subNavList">
425 <li>Summary: </li>
426 <li>Nested | </li>
427 <li><a href="#field.summary">Field</a> | </li>
428 <li><a href="#constructor.summary">Constr</a> | </li>
429 <li><a href="#method.summary">Method</a></li>
431 <ul class="subNavList">
432 <li>Detail: </li>
433 <li><a href="#field.detail">Field</a> | </li>
434 <li><a href="#constructor.detail">Constr</a> | </li>
435 <li><a href="#method.detail">Method</a></li>
438 <a name="skip.navbar.bottom">
441 <!-- ======== END OF BOTTOM NAVBAR ======= -->