├── .gitignore ├── docs └── javadoc │ └── 0.1 │ ├── package-list │ ├── resources │ └── inherit.gif │ ├── packages.html │ ├── index.html │ ├── stylesheet.css │ ├── allclasses-noframe.html │ ├── allclasses-frame.html │ ├── com │ └── boxysystems │ │ └── jgoogleanalytics │ │ ├── package-frame.html │ │ ├── class-use │ │ ├── FocusPoint_UT.html │ │ ├── HTTPGetMethod.html │ │ ├── SystemOutLogger.html │ │ ├── HTTPGetMethodRequest_UT.html │ │ ├── JGoogleAnalyticsTracker.html │ │ ├── JGoogleAnalyticsTracker_UT.html │ │ ├── GoogleAnalytics_v1_URLBuildingStrategy.html │ │ └── URLBuildingStrategy.html │ │ ├── package-use.html │ │ ├── package-tree.html │ │ └── package-summary.html │ ├── deprecated-list.html │ ├── serialized-form.html │ ├── constant-values.html │ ├── index-files │ ├── index-2.html │ ├── index-11.html │ ├── index-8.html │ ├── index-1.html │ ├── index-5.html │ ├── index-3.html │ ├── index-7.html │ ├── index-6.html │ ├── index-9.html │ └── index-4.html │ ├── overview-tree.html │ └── help-doc.html ├── release.sh ├── lib └── junit-3.8.1.jar ├── dist ├── JGoogleAnalytics_0.1.jar ├── JGoogleAnalytics_0.2.jar ├── JGoogleAnalytics_0.3.jar └── JGoogleAnalytics_0.4.jar ├── src ├── main │ ├── java │ │ └── com │ │ │ └── boxysystems │ │ │ └── jgoogleanalytics │ │ │ ├── URLBuildingStrategy.java │ │ │ ├── LoggingAdapter.java │ │ │ ├── FocusPoint.java │ │ │ ├── HTTPGetMethod.java │ │ │ ├── GoogleAnalytics_v1_URLBuildingStrategy.java │ │ │ └── JGoogleAnalyticsTracker.java │ └── Main.iml └── test │ ├── java │ └── com │ │ └── boxysystems │ │ └── jgoogleanalytics │ │ ├── SystemOutLogger.java │ │ ├── HTTPGetMethodRequest_UT.java │ │ ├── JGoogleAnalyticsTracker_UT.java │ │ └── FocusPoint_UT.java │ ├── Test.iml │ └── resources │ └── TestCases.txt ├── jgoogleanalytics.iml ├── README.md └── pom.xml /.gitignore: -------------------------------------------------------------------------------- 1 | .idea/ 2 | .class 3 | -------------------------------------------------------------------------------- /docs/javadoc/0.1/package-list: -------------------------------------------------------------------------------- 1 | com.boxysystems.jgoogleanalytics 2 | -------------------------------------------------------------------------------- /release.sh: -------------------------------------------------------------------------------- 1 | mvn source:jar javadoc:jar repository:bundle-create deploy -Dgpg.passphrase=passphrase -------------------------------------------------------------------------------- /lib/junit-3.8.1.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/siddii/jgoogleanalytics/master/lib/junit-3.8.1.jar -------------------------------------------------------------------------------- /dist/JGoogleAnalytics_0.1.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/siddii/jgoogleanalytics/master/dist/JGoogleAnalytics_0.1.jar -------------------------------------------------------------------------------- /dist/JGoogleAnalytics_0.2.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/siddii/jgoogleanalytics/master/dist/JGoogleAnalytics_0.2.jar -------------------------------------------------------------------------------- /dist/JGoogleAnalytics_0.3.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/siddii/jgoogleanalytics/master/dist/JGoogleAnalytics_0.3.jar -------------------------------------------------------------------------------- /dist/JGoogleAnalytics_0.4.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/siddii/jgoogleanalytics/master/dist/JGoogleAnalytics_0.4.jar -------------------------------------------------------------------------------- /docs/javadoc/0.1/resources/inherit.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/siddii/jgoogleanalytics/master/docs/javadoc/0.1/resources/inherit.gif -------------------------------------------------------------------------------- /src/main/java/com/boxysystems/jgoogleanalytics/URLBuildingStrategy.java: -------------------------------------------------------------------------------- 1 | package com.boxysystems.jgoogleanalytics; 2 | 3 | /** 4 | * Interface for the URL building strategy 5 | * 6 | * @author : Siddique Hameed 7 | * @version : 0.1 8 | */ 9 | 10 | public interface URLBuildingStrategy { 11 | public String buildURL(FocusPoint focusPoint); 12 | public void setRefererURL(String refererURL); 13 | } 14 | -------------------------------------------------------------------------------- /src/main/java/com/boxysystems/jgoogleanalytics/LoggingAdapter.java: -------------------------------------------------------------------------------- 1 | package com.boxysystems.jgoogleanalytics; 2 | 3 | /** 4 | * Interface for logging adapter. You can hook up log4j, System.out or any other loggers you want. 5 | * 6 | * @author : Siddique Hameed 7 | * @version : 0.1 8 | */ 9 | 10 | public interface LoggingAdapter { 11 | 12 | public void logError(String errorMessage); 13 | 14 | public void logMessage(String message); 15 | 16 | } 17 | -------------------------------------------------------------------------------- /src/test/java/com/boxysystems/jgoogleanalytics/SystemOutLogger.java: -------------------------------------------------------------------------------- 1 | package com.boxysystems.jgoogleanalytics; 2 | 3 | /** 4 | * Created by IntelliJ IDEA. 5 | * User: SHAMEED 6 | * Date: Mar 29, 2008 7 | * Time: 1:18:37 PM 8 | */ 9 | public class SystemOutLogger implements LoggingAdapter { 10 | 11 | public void logError(String errorMessage) { 12 | System.out.println("errorMessage = "+errorMessage); 13 | } 14 | 15 | public void logMessage(String message) { 16 | System.out.println("message = " + message); 17 | } 18 | } 19 | 20 | -------------------------------------------------------------------------------- /src/test/Test.iml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | -------------------------------------------------------------------------------- /docs/javadoc/0.1/packages.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 |
19 | 20 |
21 | 22 |
23 |
24 | The front page has been relocated.Please see: 25 |
26 |           Frame version 27 |
28 |           Non-frame version.
29 | 30 | 31 | 32 | -------------------------------------------------------------------------------- /docs/javadoc/0.1/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | Generated Documentation (Untitled) 8 | 9 | 10 | 11 | 12 | 13 | 14 | <H2> 15 | Frame Alert</H2> 16 | 17 | <P> 18 | This document is designed to be viewed using the frames feature. If you see this message, you are using a non-frame-capable web client. 19 | <BR> 20 | Link to<A HREF="com/boxysystems/jgoogleanalytics/package-summary.html">Non-frame version.</A> 21 | 22 | 23 | 24 | -------------------------------------------------------------------------------- /src/main/Main.iml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /jgoogleanalytics.iml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /src/test/java/com/boxysystems/jgoogleanalytics/HTTPGetMethodRequest_UT.java: -------------------------------------------------------------------------------- 1 | package com.boxysystems.jgoogleanalytics; 2 | 3 | import junit.framework.TestCase; 4 | import org.junit.Ignore; 5 | 6 | import java.io.IOException; 7 | import java.net.HttpURLConnection; 8 | 9 | /** 10 | * Created by IntelliJ IDEA. 11 | * User: shameed 12 | * Date: Mar 20, 2008 13 | * Time: 3:37:15 PM 14 | */ 15 | public class HTTPGetMethodRequest_UT extends TestCase { 16 | 17 | public void testRequest_Failure() throws Exception { 18 | MockHTTPGetMethod httpGetMethod = new MockHTTPGetMethod(); 19 | httpGetMethod.setLoggingAdapter(new SystemOutLogger()); 20 | httpGetMethod.request("http://www.BoxySystems1.com"); 21 | assertTrue(httpGetMethod.responseCode != HttpURLConnection.HTTP_OK); 22 | } 23 | 24 | private class MockHTTPGetMethod extends HTTPGetMethod { 25 | int responseCode = 0; 26 | 27 | 28 | protected int getResponseCode(HttpURLConnection urlConnection) throws IOException { 29 | responseCode = super.getResponseCode(urlConnection); 30 | return responseCode; 31 | } 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /src/test/java/com/boxysystems/jgoogleanalytics/JGoogleAnalyticsTracker_UT.java: -------------------------------------------------------------------------------- 1 | package com.boxysystems.jgoogleanalytics; 2 | 3 | import junit.framework.TestCase; 4 | 5 | /** 6 | * Created by IntelliJ IDEA. 7 | * User: SHAMEED 8 | * Date: Mar 23, 2008 9 | * Time: 5:52:35 PM 10 | */ 11 | public class JGoogleAnalyticsTracker_UT extends TestCase { 12 | 13 | private FocusPoint parentFocusPoint = new FocusPoint("JGoogleAnalyticsTest"); 14 | private FocusPoint syncChildFocuPoint = new FocusPoint("TrackingSynchronously", parentFocusPoint); 15 | private FocusPoint asyncChildFocuPoint = new FocusPoint("TrackingAsynchronously", parentFocusPoint); 16 | 17 | 18 | public void testTrackSynchronously_LibraryFinder() throws Exception { 19 | JGoogleAnalyticsTracker tracker = new JGoogleAnalyticsTracker("JGoogleAnalytics", "v0.1", "UA-4017644-1"); 20 | tracker.setLoggingAdapter(new SystemOutLogger()); 21 | tracker.trackSynchronously(syncChildFocuPoint); 22 | } 23 | 24 | public void testTrackAsynchronously_LibraryFinder() throws Exception { 25 | JGoogleAnalyticsTracker tracker = new JGoogleAnalyticsTracker("JGoogleAnalytics", "v0.1", "UA-4017644-1"); 26 | tracker.setLoggingAdapter(new SystemOutLogger()); 27 | tracker.trackAsynchronously(asyncChildFocuPoint); 28 | Thread.sleep(3000); 29 | } 30 | 31 | } 32 | -------------------------------------------------------------------------------- /docs/javadoc/0.1/stylesheet.css: -------------------------------------------------------------------------------- 1 | /* Javadoc style sheet */ 2 | 3 | /* Define colors, fonts and other style attributes here to override the defaults */ 4 | 5 | /* Page background color */ 6 | body { background-color: #FFFFFF } 7 | 8 | /* Headings */ 9 | h1 { font-size: 145% } 10 | 11 | /* Table colors */ 12 | .TableHeadingColor { background: #CCCCFF } /* Dark mauve */ 13 | .TableSubHeadingColor { background: #EEEEFF } /* Light mauve */ 14 | .TableRowColor { background: #FFFFFF } /* White */ 15 | 16 | /* Font used in left-hand frame lists */ 17 | .FrameTitleFont { font-size: 100%; font-family: Helvetica, Arial, sans-serif } 18 | .FrameHeadingFont { font-size: 90%; font-family: Helvetica, Arial, sans-serif } 19 | .FrameItemFont { font-size: 90%; font-family: Helvetica, Arial, sans-serif } 20 | 21 | /* Navigation bar fonts and colors */ 22 | .NavBarCell1 { background-color:#EEEEFF;} /* Light mauve */ 23 | .NavBarCell1Rev { background-color:#00008B;} /* Dark Blue */ 24 | .NavBarFont1 { font-family: Arial, Helvetica, sans-serif; color:#000000;} 25 | .NavBarFont1Rev { font-family: Arial, Helvetica, sans-serif; color:#FFFFFF;} 26 | 27 | .NavBarCell2 { font-family: Arial, Helvetica, sans-serif; background-color:#FFFFFF;} 28 | .NavBarCell3 { font-family: Arial, Helvetica, sans-serif; background-color:#FFFFFF;} 29 | 30 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | #jgoogleanalytics 2 | 3 | **JGoogleAnalytics** is a lightweight, unobtrusive Java utility for tracking usage information on Java applications through Google analytics. It can be used for gathering usage statistics on utilities, plugins(Eclipse, IntelliJ, Netbeans etc.), client-side, server-side, middleware, desktop or any Java based applications. Hence, allowing us to perform usage & trend analysis on the application of interest. 4 | 5 | ##Usage 6 | If you have a registered [Google analytics](http://www.google.com/analytics) account, you can write a code snippet like below to capture the usage data. *FocusPoint* is a logical point of focus in the application. It can be events like application/module load, user actions, error events etc. 7 | 8 | ```java 9 | //Google analytics tracking code for Library Finder 10 | JGoogleAnalyticsTracker tracker = new JGoogleAnalyticsTracker("Library Finder","1.3.2","UA-2184000-1"); 11 | 12 | FocusPoint focusPoint = new FocusPoint("PluginLoad"); 13 | 14 | tracker.trackAsynchronously(focusPoint); 15 | ``` 16 | 17 | ##Caveat 18 | * Google analytics does not update their reports in real time because of their high volume of subscribers. It usually gets updated nightly or every 24 hrs. If you are really curious to know if the tracking went fine, you can attach a *LoggingAdapter* to *JGoogleAnalyticsTracker* and see if you are seeing the success message. 19 | * JGoogleAnalytics would gracefully ignore errors and not collect statistics for the application running offline (without network connectivity) 20 | 21 | ## Similar Projects 22 | 23 | * [google-analytics-java](https://github.com/brsanthu/google-analytics-java) 24 | * [JGoogleAnalyticsTracker](https://code.google.com/p/jgoogleanalyticstracker/) 25 | * https://developers.google.com/api-client-library/java/apis/analytics/v3 26 | 27 | ###Where is all the old code? 28 | If you are looking for legacy code of this project, please head to the project's [Google code](https://code.google.com/p/jgoogleanalytics/) repository 29 | -------------------------------------------------------------------------------- /src/test/resources/TestCases.txt: -------------------------------------------------------------------------------- 1 | 2 | TheRandomHomepage.com UA-941159-1 3 | http://www.google-analytics.com/__utm.gif?utmwv=1&utmn=2017889013&utmcs=UTF-8&utmsr=1680x1050&utmsc=32-bit&utmul=en-us&utmje=1&utmfl=9.0%20%20r47&utmhn=gmodules.com&utmr=http://www.therandomhomepage.com/&utmp=/RandomWikipediaArticleGoogleGadget&utmac=UA-941159-1&utmcc=__utma%3D123692957.18376445.1199862926.1206625820.1206629724.153%3B%2B__utmb%3D123692957%3B%2B__utmc%3D123692957%3B%2B__utmz%3D123692957.1206629724.153.152.utmccn%3D(referral)%7Cutmcsr%3Dtherandomhomepage.com%7Cutmcct%3D%2F%7Cutmcmd%3Dreferral%3B%2B 4 | 5 | LibraryFinder UA-2184000-1 6 | http://www.google-analytics.com/__utm.gif?utmwv=3&utmn=927546309&utme=&utmcs=UTF-8&utmsr=1680x1050&utmsc=32-bit&utmul=en-us&utmje=1&utmfl=9.0%20%20r47&utmdt=libraryfinder%20-%20Google%20Code&utmhn=code.google.com&utmhid=1446160628&utmr=http://plugins.intellij.net/plugin/?id=51&utmp=/p/libraryfinder/&utmac=UA-2184000-1&utmcc=__utma%3D247248150.1814692369.1202829249.1206556429.1206629646.36%3B%2B__utmz%3D247248150.1206629646.36.22.utmcsr%3Dplugins.intellij.net%7Cutmccn%3D(referral)%7Cutmcmd%3Dreferral%7Cutmcct%3D%252Fplugin%252F%3B 7 | 8 | Madras.fm UA-1657019-1 9 | http://www.google-analytics.com/__utm.gif?utmwv=1.1&utmn=1528960531&utmcs=UTF-8&utmsr=1680x1050&utmsc=32-bit&utmul=en-us&utmje=1&utmfl=9.0%20%20r47&utmdt=Home%20-%20Hit%20Music%20Station%5BMadras.fm%5D&utmhn=madras.fm&utmhid=1659597403&utmr=-&utmp=/&utmac=UA-1657019-1&utmcc=__utma%3D81940874.2103520737.1203356170.1205527769.1206629928.9%3B%2B__utmb%3D81940874%3B%2B__utmc%3D81940874%3B%2B__utmz%3D81940874.1203356170.1.1.utmccn%3D(direct)%7Cutmcsr%3D(direct)%7Cutmcmd%3D(none)%3B%2B 10 | 11 | BoxySystems.com UA-1657036-1 12 | http://www.google-analytics.com/__utm.gif?utmwv=1.1&utmn=1480242990&utmcs=UTF-8&utmsr=1680x1050&utmsc=32-bit&utmul=en-us&utmje=1&utmfl=9.0%20%20r47&utmdt=Welcome%20to%20BoxySystems%20Inc.&utmhn=blogs.boxysystems.com&utmhid=2141716547&utmr=-&utmp=/&utmac=UA-1657036-1&utmcc=__utma%3D191959033.1745876728.1200264652.1206558417.1206631403.53%3B%2B__utmb%3D191959033%3B%2B__utmc%3D191959033%3B%2B__utmz%3D191959033.1206631403.53.12.utmccn%3D(referral)%7Cutmcsr%3Dcode.google.com%7Cutmcct%3D%2Fp%2Flibraryfinder%2F%7Cutmcmd%3Dreferral%3B%2B 13 | -------------------------------------------------------------------------------- /docs/javadoc/0.1/allclasses-noframe.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | All Classes 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | All Classes 19 |
20 | 21 | 22 | 23 | 44 | 45 |
FocusPoint 24 |
25 | FocusPoint_UT 26 |
27 | GoogleAnalytics_v1_URLBuildingStrategy 28 |
29 | HTTPGetMethod 30 |
31 | HTTPGetMethodRequest_UT 32 |
33 | JGoogleAnalyticsTracker 34 |
35 | JGoogleAnalyticsTracker_UT 36 |
37 | LoggingAdapter 38 |
39 | SystemOutLogger 40 |
41 | URLBuildingStrategy 42 |
43 |
46 | 47 | 48 | 49 | -------------------------------------------------------------------------------- /docs/javadoc/0.1/allclasses-frame.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | All Classes 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | All Classes 19 |
20 | 21 | 22 | 23 | 44 | 45 |
FocusPoint 24 |
25 | FocusPoint_UT 26 |
27 | GoogleAnalytics_v1_URLBuildingStrategy 28 |
29 | HTTPGetMethod 30 |
31 | HTTPGetMethodRequest_UT 32 |
33 | JGoogleAnalyticsTracker 34 |
35 | JGoogleAnalyticsTracker_UT 36 |
37 | LoggingAdapter 38 |
39 | SystemOutLogger 40 |
41 | URLBuildingStrategy 42 |
43 |
46 | 47 | 48 | 49 | -------------------------------------------------------------------------------- /src/main/java/com/boxysystems/jgoogleanalytics/FocusPoint.java: -------------------------------------------------------------------------------- 1 | package com.boxysystems.jgoogleanalytics; 2 | 3 | import java.io.UnsupportedEncodingException; 4 | import java.net.URLEncoder; 5 | 6 | /** 7 | * Focus point of the application. It can represent data points like application load, application module load, user actions, error events etc. 8 | * 9 | * @author : Siddique Hameed 10 | * @version : 0.1 11 | */ 12 | 13 | public class FocusPoint { 14 | 15 | private String name; 16 | private FocusPoint parentFocusPoint; 17 | private static final String URI_SEPARATOR = "/"; 18 | private static final String TITLE_SEPARATOR = "-"; 19 | 20 | public FocusPoint(String name) { 21 | this.name = name; 22 | } 23 | 24 | public FocusPoint(String name, FocusPoint parentFocusPoint) { 25 | this(name); 26 | this.parentFocusPoint = parentFocusPoint; 27 | } 28 | 29 | public String getName() { 30 | return name; 31 | } 32 | 33 | 34 | public void setParentTrackPoint(FocusPoint parentFocusPoint) { 35 | this.parentFocusPoint = parentFocusPoint; 36 | } 37 | 38 | public FocusPoint getParentFocusPoint() { 39 | return parentFocusPoint; 40 | } 41 | 42 | public String getContentURI() { 43 | StringBuffer contentURIBuffer = new StringBuffer(); 44 | getContentURI(contentURIBuffer, this); 45 | return contentURIBuffer.toString(); 46 | } 47 | 48 | public String getContentTitle() { 49 | StringBuffer titleBuffer = new StringBuffer(); 50 | getContentTitle(titleBuffer, this); 51 | return titleBuffer.toString(); 52 | } 53 | 54 | private void getContentURI(StringBuffer contentURIBuffer, FocusPoint focusPoint) { 55 | FocusPoint parentFocuPoint = focusPoint.getParentFocusPoint(); 56 | 57 | if (parentFocuPoint != null) { 58 | getContentURI(contentURIBuffer, parentFocuPoint); 59 | } 60 | contentURIBuffer.append(URI_SEPARATOR); 61 | contentURIBuffer.append(encode(focusPoint.getName())); 62 | } 63 | 64 | private String encode(String name) { 65 | try { 66 | return URLEncoder.encode(name, "UTF-8"); 67 | } catch (UnsupportedEncodingException e) { 68 | return name; 69 | } 70 | } 71 | 72 | private void getContentTitle(StringBuffer titleBuffer, FocusPoint focusPoint) { 73 | FocusPoint parentFocusPoint = focusPoint.getParentFocusPoint(); 74 | 75 | if (parentFocusPoint != null) { 76 | getContentTitle(titleBuffer, parentFocusPoint); 77 | titleBuffer.append(TITLE_SEPARATOR); 78 | } 79 | titleBuffer.append(encode(focusPoint.getName())); 80 | } 81 | } 82 | -------------------------------------------------------------------------------- /docs/javadoc/0.1/com/boxysystems/jgoogleanalytics/package-frame.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | com.boxysystems.jgoogleanalytics 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | com.boxysystems.jgoogleanalytics 20 | 21 | 22 | 29 | 30 |
23 | Interfaces  24 | 25 |
26 | LoggingAdapter 27 |
28 | URLBuildingStrategy
31 | 32 | 33 | 34 | 35 | 54 | 55 |
36 | Classes  37 | 38 |
39 | FocusPoint 40 |
41 | FocusPoint_UT 42 |
43 | GoogleAnalytics_v1_URLBuildingStrategy 44 |
45 | HTTPGetMethod 46 |
47 | HTTPGetMethodRequest_UT 48 |
49 | JGoogleAnalyticsTracker 50 |
51 | JGoogleAnalyticsTracker_UT 52 |
53 | SystemOutLogger
56 | 57 | 58 | 59 | 60 | -------------------------------------------------------------------------------- /src/main/java/com/boxysystems/jgoogleanalytics/HTTPGetMethod.java: -------------------------------------------------------------------------------- 1 | package com.boxysystems.jgoogleanalytics; 2 | 3 | import java.io.IOException; 4 | import java.net.HttpURLConnection; 5 | import java.net.URL; 6 | 7 | /** 8 | * Simple class peforming HTTP Get method on the requested url 9 | * 10 | * @author : Siddique Hameed 11 | * @version : 0.1 12 | */ 13 | 14 | public class HTTPGetMethod { 15 | private static final String GET_METHOD_NAME = "GET"; 16 | 17 | private static final String SUCCESS_MESSAGE = "JGoogleAnalytics: Tracking Successful!"; 18 | 19 | private LoggingAdapter loggingAdapter = null; 20 | 21 | public void setLoggingAdapter(LoggingAdapter loggingAdapter) { 22 | this.loggingAdapter = loggingAdapter; 23 | } 24 | 25 | private static String uaName = null; // User Agent name 26 | 27 | private static String osString = "Unknown"; 28 | 29 | HTTPGetMethod() { 30 | // Initialise the static parameters if we need to. 31 | if (uaName == null) { 32 | uaName = "Java/" + System.getProperty("java.version"); // java version info appended 33 | // os string is architecture+osname+version concatenated with _ 34 | osString = System.getProperty("os.arch"); 35 | if (osString == null || osString.length() < 1) { 36 | osString = ""; 37 | } else { 38 | osString += "; "; 39 | osString += System.getProperty("os.name") + " " 40 | + System.getProperty("os.version"); 41 | } 42 | } 43 | } 44 | 45 | public void request(String urlString) { 46 | try { 47 | URL url = new URL(urlString); 48 | HttpURLConnection urlConnection = openURLConnection(url); 49 | urlConnection.setInstanceFollowRedirects(true); 50 | urlConnection.setRequestMethod(GET_METHOD_NAME); 51 | urlConnection.setRequestProperty("User-agent", uaName + " (" 52 | + osString + ")"); 53 | 54 | urlConnection.connect(); 55 | int responseCode = getResponseCode(urlConnection); 56 | if (responseCode != HttpURLConnection.HTTP_OK) { 57 | logError("JGoogleAnalytics: Error tracking, url=" + urlString); 58 | } else { 59 | logMessage(SUCCESS_MESSAGE); 60 | } 61 | } catch (Exception e) { 62 | logError(e.getMessage()); 63 | } 64 | } 65 | 66 | protected int getResponseCode(HttpURLConnection urlConnection) 67 | throws IOException { 68 | return urlConnection.getResponseCode(); 69 | } 70 | 71 | private HttpURLConnection openURLConnection(URL url) throws IOException { 72 | return (HttpURLConnection) url.openConnection(); 73 | } 74 | 75 | private void logMessage(String message) { 76 | if (loggingAdapter != null) { 77 | loggingAdapter.logMessage(message); 78 | } 79 | } 80 | 81 | private void logError(String errorMesssage) { 82 | if (loggingAdapter != null) { 83 | loggingAdapter.logError(errorMesssage); 84 | } 85 | } 86 | } 87 | -------------------------------------------------------------------------------- /pom.xml: -------------------------------------------------------------------------------- 1 | 3 | 4 | 4.0.0 5 | com.boxysystems 6 | jgoogleanalytics 7 | jar 8 | 0.5 9 | JGoogleAnalytics: Google Analytics for Java 10 | JGoogleAnalytics: Google Analytics tracking for Java applications 11 | 2008 12 | http://jgoogleanalytics.googlecode.com 13 | 14 | 15 | 16 | Apache 2 17 | http://www.apache.org/licenses/LICENSE-2.0.txt 18 | repo 19 | A business-friendly OSS license 20 | 21 | 22 | 23 | 24 | siddii 25 | Siddique Hameed 26 | siddii at gmail.com 27 | http://www.BoxySystems.com 28 | BoxySystems Inc. 29 | http://www.BoxySystems.com 30 | 31 | developer 32 | 33 | -6 34 | 35 | 36 | 37 | 40 | 41 | scm:svn:http://jgoogleanalytics.googlecode.com/svn/trunk/ 42 | scm:svn:https://jgoogleanalytics.googlecode.com/svn/trunk/ 43 | http://jgoogleanalytics.googlecode.com/svn/trunk/ 44 | 45 | 46 | 49 | 50 | 51 | nexus-releases 52 | Nexus Release Repository 53 | http://oss.sonatype.org/service/local/staging/deploy/maven2/ 54 | 55 | 56 | 57 | 60 | 61 | 62 | junit 63 | junit 64 | 4.8.2 65 | test 66 | 67 | 68 | 69 | 70 | 71 | 72 | org.apache.maven.plugins 73 | maven-gpg-plugin 74 | 75 | 76 | sign-artifacts 77 | verify 78 | 79 | sign 80 | 81 | 82 | 83 | 84 | 85 | 86 | 87 | 88 | -------------------------------------------------------------------------------- /src/main/java/com/boxysystems/jgoogleanalytics/GoogleAnalytics_v1_URLBuildingStrategy.java: -------------------------------------------------------------------------------- 1 | package com.boxysystems.jgoogleanalytics; 2 | 3 | import java.net.InetAddress; 4 | import java.net.UnknownHostException; 5 | import java.util.*; 6 | 7 | /** 8 | * URL building logic for the earlier versions of google analytics (urchin.js) 9 | * 10 | * @author : Siddique Hameed 11 | * @version : 0.1 12 | */ 13 | 14 | public class GoogleAnalytics_v1_URLBuildingStrategy implements URLBuildingStrategy { 15 | private FocusPoint appFocusPoint; 16 | private String googleAnalyticsTrackingCode; 17 | private String refererURL = "http://www.BoxySystems.com"; 18 | 19 | private static final String TRACKING_URL_Prefix = "http://www.google-analytics.com/__utm.gif"; 20 | 21 | private static final Random random = new Random(); 22 | private static String hostName = "localhost"; 23 | 24 | static { 25 | try { 26 | hostName = InetAddress.getLocalHost().getHostName(); 27 | } catch (UnknownHostException e) { 28 | //ignore this 29 | } 30 | } 31 | 32 | 33 | public GoogleAnalytics_v1_URLBuildingStrategy(String appName, String googleAnalyticsTrackingCode) { 34 | this.googleAnalyticsTrackingCode = googleAnalyticsTrackingCode; 35 | this.appFocusPoint = new FocusPoint(appName); 36 | } 37 | 38 | public GoogleAnalytics_v1_URLBuildingStrategy(String appName, String appVersion, String googleAnalyticsTrackingCode) { 39 | this.googleAnalyticsTrackingCode = googleAnalyticsTrackingCode; 40 | this.appFocusPoint = new FocusPoint(appVersion, new FocusPoint(appName)); 41 | } 42 | 43 | 44 | public String buildURL(FocusPoint focusPoint) { 45 | 46 | int cookie = random.nextInt(); 47 | int randomValue = random.nextInt(2147483647) -1; 48 | long now = new Date().getTime(); 49 | 50 | // String $urchinUrl="http://www.google-analytics.com/__utm.gif?utmwv=1&utmn='.$var_utmn.'&utmsr=-&utmsc=-&utmul=-&utmje=0&utmfl=-&utmdt=-&utmhn='.$var_utmhn.'&utmr='.$var_referer.'&utmp='.$var_utmp." + 51 | // "'&utmac='.$var_utmac.'" + 52 | // "&utmcc=__utma%3D'.$var_cookie.'.'.$var_random.'.'.$var_today.'.'.$var_today.'.'.$var_today.'.2%3B%2B__utmb%3D'.$var_cookie.'%3B%2B__utmc%3D'.$var_cookie.'%3B%2B__utmz%3D'.$var_cookie.'.'.$var_today.'.2.2.utmccn%3D(direct)%7Cutmcsr%3D(direct)%7Cutmcmd%3D(none)%3B%2B__utmv%3D'.$var_cookie.'.'.$var_uservar.'%3B"; 53 | 54 | 55 | focusPoint.setParentTrackPoint(appFocusPoint); 56 | StringBuffer url = new StringBuffer(TRACKING_URL_Prefix); 57 | url.append("?utmwv=1"); //Urchin/Analytics version 58 | url.append("&utmn=" + random.nextInt()); 59 | url.append("&utmcs=UTF-8"); //document encoding 60 | url.append("&utmsr=1440x900"); //screen resolution 61 | url.append("&utmsc=32-bit"); //color depth 62 | url.append("&utmul=en-us"); //user language 63 | url.append("&utmje=1"); //java enabled 64 | url.append("&utmfl=9.0%20%20r28"); //flash 65 | url.append("&utmcr=1"); //carriage return 66 | url.append("&utmdt=" + focusPoint.getContentTitle()); //The optimum keyword density //document title 67 | url.append("&utmhn=" + hostName);//document hostname 68 | url.append("&utmr="+refererURL); //referer URL 69 | url.append("&utmp=" + focusPoint.getContentURI());//document page URL 70 | url.append("&utmac=" + googleAnalyticsTrackingCode);//Google Analytics account 71 | url.append("&utmcc=__utma%3D'"+cookie+"."+randomValue+"."+now+"."+now+"."+now+".2%3B%2B__utmb%3D"+cookie+"%3B%2B__utmc%3D"+cookie+"%3B%2B__utmz%3D"+cookie+"."+now+".2.2.utmccn%3D(direct)%7Cutmcsr%3D(direct)%7Cutmcmd%3D(none)%3B%2B__utmv%3D"+cookie); 72 | return url.toString(); 73 | } 74 | 75 | public void setRefererURL(String refererURL) { 76 | this.refererURL = refererURL; 77 | } 78 | } 79 | -------------------------------------------------------------------------------- /src/test/java/com/boxysystems/jgoogleanalytics/FocusPoint_UT.java: -------------------------------------------------------------------------------- 1 | package com.boxysystems.jgoogleanalytics; 2 | 3 | import junit.framework.TestCase; 4 | 5 | /** 6 | * Created by IntelliJ IDEA. 7 | * User: shameed 8 | * Date: Mar 20, 2008 9 | * Time: 3:45:26 PM 10 | */ 11 | public class FocusPoint_UT extends TestCase { 12 | 13 | public void testGetContentURI_Simple() throws Exception{ 14 | FocusPoint focusPoint = new FocusPoint("BoxySystems"); 15 | String contentURI = focusPoint.getContentURI(); 16 | assertNotNull(contentURI); 17 | assertEquals("/BoxySystems",contentURI); 18 | } 19 | 20 | public void testGetContentURI_OneLevel() throws Exception{ 21 | FocusPoint parentFocusPoint = new FocusPoint("BoxySystems"); 22 | FocusPoint childFocusPoint = new FocusPoint("LibraryFinder", parentFocusPoint); 23 | String contentURI = childFocusPoint.getContentURI(); 24 | assertNotNull(contentURI); 25 | assertEquals("/BoxySystems/LibraryFinder",contentURI); 26 | } 27 | 28 | public void testGetContentURI_TwoLevel() throws Exception{ 29 | FocusPoint parentFocusPoint = new FocusPoint("BoxySystems"); 30 | FocusPoint child1FocusPoint = new FocusPoint("LibraryFinder", parentFocusPoint); 31 | FocusPoint child2FocusPoint = new FocusPoint("FindLibraryDialog", child1FocusPoint); 32 | String contentURI = child2FocusPoint.getContentURI(); 33 | assertNotNull(contentURI); 34 | assertEquals("/BoxySystems/LibraryFinder/FindLibraryDialog",contentURI); 35 | } 36 | 37 | public void testGetContentURI_ThreeLevel() throws Exception{ 38 | FocusPoint parentFocusPoint = new FocusPoint("BoxySystems"); 39 | FocusPoint child1FocusPoint = new FocusPoint("LibraryFinder", parentFocusPoint); 40 | FocusPoint child2FocusPoint = new FocusPoint("FindLibraryDialog", child1FocusPoint); 41 | FocusPoint child3FocusPoint = new FocusPoint("RegexPattern", child2FocusPoint); 42 | String contentURI = child3FocusPoint.getContentURI(); 43 | assertNotNull(contentURI); 44 | assertEquals("/BoxySystems/LibraryFinder/FindLibraryDialog/RegexPattern",contentURI); 45 | } 46 | 47 | public void testGetContentTitle_Simple() throws Exception{ 48 | FocusPoint focusPoint = new FocusPoint("BoxySystems"); 49 | String contentTitle = focusPoint.getContentTitle(); 50 | assertNotNull(contentTitle); 51 | assertEquals("BoxySystems",contentTitle); 52 | } 53 | 54 | public void testGetContentTitle_OneLevel() throws Exception{ 55 | FocusPoint parentFocusPoint = new FocusPoint("BoxySystems"); 56 | FocusPoint childFocusPoint = new FocusPoint("LibraryFinder", parentFocusPoint); 57 | String contentTitle = childFocusPoint.getContentTitle(); 58 | assertNotNull(contentTitle); 59 | assertEquals("BoxySystems-LibraryFinder",contentTitle); 60 | } 61 | 62 | public void testGetContentTitle_TwoLevel() throws Exception{ 63 | FocusPoint parentFocusPoint = new FocusPoint("BoxySystems"); 64 | FocusPoint child1FocusPoint = new FocusPoint("LibraryFinder", parentFocusPoint); 65 | FocusPoint child2FocusPoint = new FocusPoint("FindLibraryDialog", child1FocusPoint); 66 | String contentTitle = child2FocusPoint.getContentTitle(); 67 | assertNotNull(contentTitle); 68 | assertEquals("BoxySystems-LibraryFinder-FindLibraryDialog",contentTitle); 69 | } 70 | 71 | public void testGetContentTitle_ThreeLevel() throws Exception{ 72 | FocusPoint parentFocusPoint = new FocusPoint("BoxySystems"); 73 | FocusPoint child1FocusPoint = new FocusPoint("LibraryFinder", parentFocusPoint); 74 | FocusPoint child2FocusPoint = new FocusPoint("FindLibraryDialog", child1FocusPoint); 75 | FocusPoint child3FocusPoint = new FocusPoint("RegexPattern", child2FocusPoint); 76 | String contentTitle = child3FocusPoint.getContentTitle(); 77 | assertNotNull(contentTitle); 78 | assertEquals("BoxySystems-LibraryFinder-FindLibraryDialog-RegexPattern",contentTitle); 79 | } 80 | 81 | } 82 | -------------------------------------------------------------------------------- /src/main/java/com/boxysystems/jgoogleanalytics/JGoogleAnalyticsTracker.java: -------------------------------------------------------------------------------- 1 | package com.boxysystems.jgoogleanalytics; 2 | 3 | /** 4 | * Main class for tracking google analytics data. 5 | * 6 | * @author : Siddique Hameed 7 | * @version : 0.1 8 | * @see : http://JGoogleAnalytics.googlecode.com 9 | */ 10 | 11 | public class JGoogleAnalyticsTracker { 12 | 13 | private URLBuildingStrategy urlBuildingStrategy = null; 14 | private HTTPGetMethod httpRequest = new HTTPGetMethod(); 15 | private LoggingAdapter loggingAdapter; 16 | 17 | /** 18 | * Simple constructor passing the application name & google analytics tracking code 19 | * 20 | * @param appName Application name (For ex: "LibraryFinder") 21 | * @param googleAnalyticsTrackingCode (For ex: "UA-2184000-1") 22 | */ 23 | public JGoogleAnalyticsTracker(String appName, String googleAnalyticsTrackingCode) { 24 | this.urlBuildingStrategy = new GoogleAnalytics_v1_URLBuildingStrategy(appName, googleAnalyticsTrackingCode); 25 | } 26 | 27 | /** 28 | * Constructor passing the application name, application version & google analytics tracking code 29 | * 30 | * @param appName Application name (For ex: "LibraryFinder") 31 | * @param appVersion Application version (For ex: "1.3.1") 32 | * @param googleAnalyticsTrackingCode (For ex: "UA-2184000-1") 33 | */ 34 | 35 | public JGoogleAnalyticsTracker(String appName, String appVersion, String googleAnalyticsTrackingCode) { 36 | this.urlBuildingStrategy = new GoogleAnalytics_v1_URLBuildingStrategy(appName, appVersion, googleAnalyticsTrackingCode); 37 | } 38 | 39 | 40 | /** 41 | * Setter injection for URLBuildingStrategy incase if you want to use a different url building logic. 42 | * 43 | * @param urlBuildingStrategy implemented instance of URLBuildingStrategy 44 | */ 45 | public void setUrlBuildingStrategy(URLBuildingStrategy urlBuildingStrategy) { 46 | this.urlBuildingStrategy = urlBuildingStrategy; 47 | } 48 | 49 | /** 50 | * Setter injection for LoggingAdpater. You can hook up log4j, System.out or any other loggers you want. 51 | * 52 | * @param loggingAdapter implemented instance of LoggingAdapter 53 | */ 54 | 55 | public void setLoggingAdapter(LoggingAdapter loggingAdapter) { 56 | this.loggingAdapter = loggingAdapter; 57 | httpRequest.setLoggingAdapter(loggingAdapter); 58 | } 59 | 60 | /** 61 | * Track the focusPoint in the application synchronously.
62 | * Please be cognizant while using this method. Since, it would have a peformance hit on the actual application. 63 | * Use it unless it's really needed 64 | * 65 | * @param focusPoint Focus point of the application like application load, application module load, user actions, error events etc. 66 | */ 67 | 68 | 69 | public void trackSynchronously(FocusPoint focusPoint) { 70 | logMessage("JGoogleAnalytics: Tracking synchronously focusPoint=" + focusPoint.getContentTitle()); 71 | httpRequest.request(urlBuildingStrategy.buildURL(focusPoint)); 72 | } 73 | 74 | /** 75 | * Track the focusPoint in the application asynchronously.
76 | * 77 | * @param focusPoint Focus point of the application like application load, application module load, user actions, error events etc. 78 | */ 79 | 80 | public void trackAsynchronously(FocusPoint focusPoint) { 81 | logMessage("JGoogleAnalytics: Tracking Asynchronously focusPoint=" + focusPoint.getContentTitle()); 82 | new TrackingThread(focusPoint).start(); 83 | } 84 | 85 | private void logMessage(String message) { 86 | if (loggingAdapter != null) { 87 | loggingAdapter.logMessage(message); 88 | } 89 | } 90 | 91 | private class TrackingThread extends Thread { 92 | private FocusPoint focusPoint; 93 | 94 | 95 | public TrackingThread(FocusPoint focusPoint) { 96 | this.focusPoint = focusPoint; 97 | this.setPriority(Thread.MIN_PRIORITY); 98 | } 99 | 100 | public void run() { 101 | httpRequest.request(urlBuildingStrategy.buildURL(focusPoint)); 102 | } 103 | } 104 | } 105 | -------------------------------------------------------------------------------- /docs/javadoc/0.1/deprecated-list.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | Deprecated List 8 | 9 | 10 | 11 | 12 | 13 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 44 | 47 | 48 | 49 | 50 | 53 | 68 | 69 |
45 | 46 |
70 | 71 | 72 | 73 |
74 |
75 |

76 | Deprecated API

77 |
78 |
79 | 80 | 81 | 82 | 83 | 84 | 85 | 86 | 100 | 103 | 104 | 105 | 106 | 109 | 124 | 125 |
101 | 102 |
126 | 127 | 128 | 129 |
130 | 131 | 132 | 133 | -------------------------------------------------------------------------------- /docs/javadoc/0.1/serialized-form.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | Serialized Form 8 | 9 | 10 | 11 | 12 | 13 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 44 | 47 | 48 | 49 | 50 | 53 | 68 | 69 |
45 | 46 |
70 | 71 | 72 | 73 |
74 |
75 |

76 | Serialized Form

77 |
78 |
79 | 80 | 81 | 82 | 83 | 84 | 85 | 86 | 100 | 103 | 104 | 105 | 106 | 109 | 124 | 125 |
101 | 102 |
126 | 127 | 128 | 129 |
130 | 131 | 132 | 133 | -------------------------------------------------------------------------------- /docs/javadoc/0.1/constant-values.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | Constant Field Values 8 | 9 | 10 | 11 | 12 | 13 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 44 | 47 | 48 | 49 | 50 | 53 | 68 | 69 |
45 | 46 |
70 | 71 | 72 | 73 |
74 |
75 |

76 | Constant Field Values

77 |
78 |
79 | Contents 81 | 82 |
83 | 84 | 85 | 86 | 87 | 88 | 89 | 90 | 104 | 107 | 108 | 109 | 110 | 113 | 128 | 129 |
105 | 106 |
130 | 131 | 132 | 133 |
134 | 135 | 136 | 137 | -------------------------------------------------------------------------------- /docs/javadoc/0.1/com/boxysystems/jgoogleanalytics/class-use/FocusPoint_UT.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | Uses of Class com.boxysystems.jgoogleanalytics.FocusPoint_UT 8 | 9 | 10 | 11 | 12 | 13 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 44 | 47 | 48 | 49 | 50 | 53 | 68 | 69 |
45 | 46 |
70 | 71 | 72 | 73 |
74 |
75 |

76 | Uses of Class
com.boxysystems.jgoogleanalytics.FocusPoint_UT

77 |
78 | No usage of com.boxysystems.jgoogleanalytics.FocusPoint_UT 79 |

80 |


81 | 82 | 83 | 84 | 85 | 86 | 87 | 88 | 102 | 105 | 106 | 107 | 108 | 111 | 126 | 127 |
103 | 104 |
128 | 129 | 130 | 131 |
132 | 133 | 134 | 135 | -------------------------------------------------------------------------------- /docs/javadoc/0.1/com/boxysystems/jgoogleanalytics/class-use/HTTPGetMethod.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | Uses of Class com.boxysystems.jgoogleanalytics.HTTPGetMethod 8 | 9 | 10 | 11 | 12 | 13 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 44 | 47 | 48 | 49 | 50 | 53 | 68 | 69 |
45 | 46 |
70 | 71 | 72 | 73 |
74 |
75 |

76 | Uses of Class
com.boxysystems.jgoogleanalytics.HTTPGetMethod

77 |
78 | No usage of com.boxysystems.jgoogleanalytics.HTTPGetMethod 79 |

80 |


81 | 82 | 83 | 84 | 85 | 86 | 87 | 88 | 102 | 105 | 106 | 107 | 108 | 111 | 126 | 127 |
103 | 104 |
128 | 129 | 130 | 131 |
132 | 133 | 134 | 135 | -------------------------------------------------------------------------------- /docs/javadoc/0.1/com/boxysystems/jgoogleanalytics/class-use/SystemOutLogger.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | Uses of Class com.boxysystems.jgoogleanalytics.SystemOutLogger 8 | 9 | 10 | 11 | 12 | 13 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 44 | 47 | 48 | 49 | 50 | 53 | 68 | 69 |
45 | 46 |
70 | 71 | 72 | 73 |
74 |
75 |

76 | Uses of Class
com.boxysystems.jgoogleanalytics.SystemOutLogger

77 |
78 | No usage of com.boxysystems.jgoogleanalytics.SystemOutLogger 79 |

80 |


81 | 82 | 83 | 84 | 85 | 86 | 87 | 88 | 102 | 105 | 106 | 107 | 108 | 111 | 126 | 127 |
103 | 104 |
128 | 129 | 130 | 131 |
132 | 133 | 134 | 135 | -------------------------------------------------------------------------------- /docs/javadoc/0.1/com/boxysystems/jgoogleanalytics/class-use/HTTPGetMethodRequest_UT.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | Uses of Class com.boxysystems.jgoogleanalytics.HTTPGetMethodRequest_UT 8 | 9 | 10 | 11 | 12 | 13 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 44 | 47 | 48 | 49 | 50 | 53 | 68 | 69 |
45 | 46 |
70 | 71 | 72 | 73 |
74 |
75 |

76 | Uses of Class
com.boxysystems.jgoogleanalytics.HTTPGetMethodRequest_UT

77 |
78 | No usage of com.boxysystems.jgoogleanalytics.HTTPGetMethodRequest_UT 79 |

80 |


81 | 82 | 83 | 84 | 85 | 86 | 87 | 88 | 102 | 105 | 106 | 107 | 108 | 111 | 126 | 127 |
103 | 104 |
128 | 129 | 130 | 131 |
132 | 133 | 134 | 135 | -------------------------------------------------------------------------------- /docs/javadoc/0.1/com/boxysystems/jgoogleanalytics/class-use/JGoogleAnalyticsTracker.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | Uses of Class com.boxysystems.jgoogleanalytics.JGoogleAnalyticsTracker 8 | 9 | 10 | 11 | 12 | 13 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 44 | 47 | 48 | 49 | 50 | 53 | 68 | 69 |
45 | 46 |
70 | 71 | 72 | 73 |
74 |
75 |

76 | Uses of Class
com.boxysystems.jgoogleanalytics.JGoogleAnalyticsTracker

77 |
78 | No usage of com.boxysystems.jgoogleanalytics.JGoogleAnalyticsTracker 79 |

80 |


81 | 82 | 83 | 84 | 85 | 86 | 87 | 88 | 102 | 105 | 106 | 107 | 108 | 111 | 126 | 127 |
103 | 104 |
128 | 129 | 130 | 131 |
132 | 133 | 134 | 135 | -------------------------------------------------------------------------------- /docs/javadoc/0.1/com/boxysystems/jgoogleanalytics/class-use/JGoogleAnalyticsTracker_UT.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | Uses of Class com.boxysystems.jgoogleanalytics.JGoogleAnalyticsTracker_UT 8 | 9 | 10 | 11 | 12 | 13 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 44 | 47 | 48 | 49 | 50 | 53 | 68 | 69 |
45 | 46 |
70 | 71 | 72 | 73 |
74 |
75 |

76 | Uses of Class
com.boxysystems.jgoogleanalytics.JGoogleAnalyticsTracker_UT

77 |
78 | No usage of com.boxysystems.jgoogleanalytics.JGoogleAnalyticsTracker_UT 79 |

80 |


81 | 82 | 83 | 84 | 85 | 86 | 87 | 88 | 102 | 105 | 106 | 107 | 108 | 111 | 126 | 127 |
103 | 104 |
128 | 129 | 130 | 131 |
132 | 133 | 134 | 135 | -------------------------------------------------------------------------------- /docs/javadoc/0.1/index-files/index-2.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | C-Index 8 | 9 | 10 | 11 | 12 | 13 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 44 | 47 | 48 | 49 | 50 | 53 | 68 | 69 |
45 | 46 |
70 | 71 | 72 | 73 | B C F G H J L R S T U
74 |

75 | C

76 |
77 |
com.boxysystems.jgoogleanalytics - package com.boxysystems.jgoogleanalytics
 
78 |
79 | 80 | 81 | 82 | 83 | 84 | 85 | 86 | 100 | 103 | 104 | 105 | 106 | 109 | 124 | 125 |
101 | 102 |
126 | 127 | 128 | 129 | B C F G H J L R S T U
130 | 131 | 132 | 133 | -------------------------------------------------------------------------------- /docs/javadoc/0.1/com/boxysystems/jgoogleanalytics/class-use/GoogleAnalytics_v1_URLBuildingStrategy.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | Uses of Class com.boxysystems.jgoogleanalytics.GoogleAnalytics_v1_URLBuildingStrategy 8 | 9 | 10 | 11 | 12 | 13 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 44 | 47 | 48 | 49 | 50 | 53 | 68 | 69 |
45 | 46 |
70 | 71 | 72 | 73 |
74 |
75 |

76 | Uses of Class
com.boxysystems.jgoogleanalytics.GoogleAnalytics_v1_URLBuildingStrategy

77 |
78 | No usage of com.boxysystems.jgoogleanalytics.GoogleAnalytics_v1_URLBuildingStrategy 79 |

80 |


81 | 82 | 83 | 84 | 85 | 86 | 87 | 88 | 102 | 105 | 106 | 107 | 108 | 111 | 126 | 127 |
103 | 104 |
128 | 129 | 130 | 131 |
132 | 133 | 134 | 135 | -------------------------------------------------------------------------------- /docs/javadoc/0.1/index-files/index-11.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | U-Index 8 | 9 | 10 | 11 | 12 | 13 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 44 | 47 | 48 | 49 | 50 | 53 | 68 | 69 |
45 | 46 |
70 | 71 | 72 | 73 | B C F G H J L R S T U
74 |

75 | U

76 |
77 |
URLBuildingStrategy - interface com.boxysystems.jgoogleanalytics.URLBuildingStrategy.
Interface for the URL building strategy
78 |
79 | 80 | 81 | 82 | 83 | 84 | 85 | 86 | 100 | 103 | 104 | 105 | 106 | 109 | 124 | 125 |
101 | 102 |
126 | 127 | 128 | 129 | B C F G H J L R S T U
130 | 131 | 132 | 133 | -------------------------------------------------------------------------------- /docs/javadoc/0.1/index-files/index-8.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | R-Index 8 | 9 | 10 | 11 | 12 | 13 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 44 | 47 | 48 | 49 | 50 | 53 | 68 | 69 |
45 | 46 |
70 | 71 | 72 | 73 | B C F G H J L R S T U
74 |

75 | R

76 |
77 |
request(String) - 78 | Method in class com.boxysystems.jgoogleanalytics.HTTPGetMethod 79 |
  80 |
81 |
82 | 83 | 84 | 85 | 86 | 87 | 88 | 89 | 103 | 106 | 107 | 108 | 109 | 112 | 127 | 128 |
104 | 105 |
129 | 130 | 131 | 132 | B C F G H J L R S T U
133 | 134 | 135 | 136 | -------------------------------------------------------------------------------- /docs/javadoc/0.1/index-files/index-1.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | B-Index 8 | 9 | 10 | 11 | 12 | 13 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 44 | 47 | 48 | 49 | 50 | 53 | 68 | 69 |
45 | 46 |
70 | 71 | 72 | 73 | B C F G H J L R S T U
74 |

75 | B

76 |
77 |
buildURL(FocusPoint) - 78 | Method in class com.boxysystems.jgoogleanalytics.GoogleAnalytics_v1_URLBuildingStrategy 79 |
  80 |
buildURL(FocusPoint) - 81 | Method in interface com.boxysystems.jgoogleanalytics.URLBuildingStrategy 82 |
  83 |
84 |
85 | 86 | 87 | 88 | 89 | 90 | 91 | 92 | 106 | 109 | 110 | 111 | 112 | 115 | 130 | 131 |
107 | 108 |
132 | 133 | 134 | 135 | B C F G H J L R S T U
136 | 137 | 138 | 139 | -------------------------------------------------------------------------------- /docs/javadoc/0.1/com/boxysystems/jgoogleanalytics/package-use.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | Uses of Package com.boxysystems.jgoogleanalytics 8 | 9 | 10 | 11 | 12 | 13 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 44 | 47 | 48 | 49 | 50 | 53 | 68 | 69 |
45 | 46 |
70 | 71 | 72 | 73 |
74 |
75 |

76 | Uses of Package
com.boxysystems.jgoogleanalytics

77 |
78 | 79 | 80 | 81 | 83 | 84 | 85 | 89 | 90 | 91 | 95 | 96 | 97 | 101 | 102 |
82 | Classes in com.boxysystems.jgoogleanalytics used by com.boxysystems.jgoogleanalytics
FocusPoint 86 | 87 |
88 |           Focus point of the application.
LoggingAdapter 92 | 93 |
94 |           Interface for logging adapter.
URLBuildingStrategy 98 | 99 |
100 |           Interface for the URL building strategy
103 |   104 |

105 |


106 | 107 | 108 | 109 | 110 | 111 | 112 | 113 | 127 | 130 | 131 | 132 | 133 | 136 | 151 | 152 |
128 | 129 |
153 | 154 | 155 | 156 |
157 | 158 | 159 | 160 | -------------------------------------------------------------------------------- /docs/javadoc/0.1/index-files/index-5.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | H-Index 8 | 9 | 10 | 11 | 12 | 13 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 44 | 47 | 48 | 49 | 50 | 53 | 68 | 69 |
45 | 46 |
70 | 71 | 72 | 73 | B C F G H J L R S T U
74 |

75 | H

76 |
77 |
HTTPGetMethod - class com.boxysystems.jgoogleanalytics.HTTPGetMethod.
Simple class peforming HTTP Get method on the requested url
HTTPGetMethod() - 78 | Constructor for class com.boxysystems.jgoogleanalytics.HTTPGetMethod 79 |
  80 |
HTTPGetMethodRequest_UT - class com.boxysystems.jgoogleanalytics.HTTPGetMethodRequest_UT.
Created by IntelliJ IDEA.
HTTPGetMethodRequest_UT() - 81 | Constructor for class com.boxysystems.jgoogleanalytics.HTTPGetMethodRequest_UT 82 |
  83 |
84 |
85 | 86 | 87 | 88 | 89 | 90 | 91 | 92 | 106 | 109 | 110 | 111 | 112 | 115 | 130 | 131 |
107 | 108 |
132 | 133 | 134 | 135 | B C F G H J L R S T U
136 | 137 | 138 | 139 | -------------------------------------------------------------------------------- /docs/javadoc/0.1/index-files/index-3.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | F-Index 8 | 9 | 10 | 11 | 12 | 13 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 44 | 47 | 48 | 49 | 50 | 53 | 68 | 69 |
45 | 46 |
70 | 71 | 72 | 73 | B C F G H J L R S T U
74 |

75 | F

76 |
77 |
FocusPoint - class com.boxysystems.jgoogleanalytics.FocusPoint.
Focus point of the application.
FocusPoint(String) - 78 | Constructor for class com.boxysystems.jgoogleanalytics.FocusPoint 79 |
  80 |
FocusPoint(String, FocusPoint) - 81 | Constructor for class com.boxysystems.jgoogleanalytics.FocusPoint 82 |
  83 |
FocusPoint_UT - class com.boxysystems.jgoogleanalytics.FocusPoint_UT.
Created by IntelliJ IDEA.
FocusPoint_UT() - 84 | Constructor for class com.boxysystems.jgoogleanalytics.FocusPoint_UT 85 |
  86 |
87 |
88 | 89 | 90 | 91 | 92 | 93 | 94 | 95 | 109 | 112 | 113 | 114 | 115 | 118 | 133 | 134 |
110 | 111 |
135 | 136 | 137 | 138 | B C F G H J L R S T U
139 | 140 | 141 | 142 | -------------------------------------------------------------------------------- /docs/javadoc/0.1/index-files/index-7.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | L-Index 8 | 9 | 10 | 11 | 12 | 13 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 44 | 47 | 48 | 49 | 50 | 53 | 68 | 69 |
45 | 46 |
70 | 71 | 72 | 73 | B C F G H J L R S T U
74 |

75 | L

76 |
77 |
LoggingAdapter - interface com.boxysystems.jgoogleanalytics.LoggingAdapter.
Interface for logging adapter.
logError(String) - 78 | Method in interface com.boxysystems.jgoogleanalytics.LoggingAdapter 79 |
  80 |
logError(String) - 81 | Method in class com.boxysystems.jgoogleanalytics.SystemOutLogger 82 |
  83 |
logMessage(String) - 84 | Method in interface com.boxysystems.jgoogleanalytics.LoggingAdapter 85 |
  86 |
logMessage(String) - 87 | Method in class com.boxysystems.jgoogleanalytics.SystemOutLogger 88 |
  89 |
90 |
91 | 92 | 93 | 94 | 95 | 96 | 97 | 98 | 112 | 115 | 116 | 117 | 118 | 121 | 136 | 137 |
113 | 114 |
138 | 139 | 140 | 141 | B C F G H J L R S T U
142 | 143 | 144 | 145 | -------------------------------------------------------------------------------- /docs/javadoc/0.1/overview-tree.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | Class Hierarchy 8 | 9 | 10 | 11 | 12 | 13 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 44 | 47 | 48 | 49 | 50 | 53 | 68 | 69 |
45 | 46 |
70 | 71 | 72 | 73 |
74 |
75 |

76 | Hierarchy For All Packages

77 |
78 |
79 |
Package Hierarchies:
com.boxysystems.jgoogleanalytics
80 |
81 |

82 | Class Hierarchy 83 |

84 | 95 |

96 | Interface Hierarchy 97 |

98 | 100 |
101 | 102 | 103 | 104 | 105 | 106 | 107 | 108 | 122 | 125 | 126 | 127 | 128 | 131 | 146 | 147 |
123 | 124 |
148 | 149 | 150 | 151 |
152 | 153 | 154 | 155 | -------------------------------------------------------------------------------- /docs/javadoc/0.1/index-files/index-6.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | J-Index 8 | 9 | 10 | 11 | 12 | 13 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 44 | 47 | 48 | 49 | 50 | 53 | 68 | 69 |
45 | 46 |
70 | 71 | 72 | 73 | B C F G H J L R S T U
74 |

75 | J

76 |
77 |
JGoogleAnalyticsTracker - class com.boxysystems.jgoogleanalytics.JGoogleAnalyticsTracker.
Main class for tracking google analytics data.
JGoogleAnalyticsTracker(String, String) - 78 | Constructor for class com.boxysystems.jgoogleanalytics.JGoogleAnalyticsTracker 79 |
Simple constructor passing the application name & google analytics tracking code 80 |
JGoogleAnalyticsTracker(String, String, String) - 81 | Constructor for class com.boxysystems.jgoogleanalytics.JGoogleAnalyticsTracker 82 |
Constructor passing the application name, application version & google analytics tracking code 83 |
JGoogleAnalyticsTracker_UT - class com.boxysystems.jgoogleanalytics.JGoogleAnalyticsTracker_UT.
Created by IntelliJ IDEA.
JGoogleAnalyticsTracker_UT() - 84 | Constructor for class com.boxysystems.jgoogleanalytics.JGoogleAnalyticsTracker_UT 85 |
  86 |
87 |
88 | 89 | 90 | 91 | 92 | 93 | 94 | 95 | 109 | 112 | 113 | 114 | 115 | 118 | 133 | 134 |
110 | 111 |
135 | 136 | 137 | 138 | B C F G H J L R S T U
139 | 140 | 141 | 142 | -------------------------------------------------------------------------------- /docs/javadoc/0.1/com/boxysystems/jgoogleanalytics/package-tree.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | com.boxysystems.jgoogleanalytics Class Hierarchy 8 | 9 | 10 | 11 | 12 | 13 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 44 | 47 | 48 | 49 | 50 | 53 | 68 | 69 |
45 | 46 |
70 | 71 | 72 | 73 |
74 |
75 |

76 | Hierarchy For Package com.boxysystems.jgoogleanalytics 77 |

78 |
79 |

80 | Class Hierarchy 81 |

82 | 93 |

94 | Interface Hierarchy 95 |

96 | 98 |
99 | 100 | 101 | 102 | 103 | 104 | 105 | 106 | 120 | 123 | 124 | 125 | 126 | 129 | 144 | 145 |
121 | 122 |
146 | 147 | 148 | 149 |
150 | 151 | 152 | 153 | -------------------------------------------------------------------------------- /docs/javadoc/0.1/index-files/index-9.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | S-Index 8 | 9 | 10 | 11 | 12 | 13 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 44 | 47 | 48 | 49 | 50 | 53 | 68 | 69 |
45 | 46 |
70 | 71 | 72 | 73 | B C F G H J L R S T U
74 |

75 | S

76 |
77 |
SystemOutLogger - class com.boxysystems.jgoogleanalytics.SystemOutLogger.
Created by IntelliJ IDEA.
SystemOutLogger() - 78 | Constructor for class com.boxysystems.jgoogleanalytics.SystemOutLogger 79 |
  80 |
setLoggingAdapter(LoggingAdapter) - 81 | Method in class com.boxysystems.jgoogleanalytics.HTTPGetMethod 82 |
  83 |
setLoggingAdapter(LoggingAdapter) - 84 | Method in class com.boxysystems.jgoogleanalytics.JGoogleAnalyticsTracker 85 |
Setter injection for LoggingAdpater. 86 |
setParentTrackPoint(FocusPoint) - 87 | Method in class com.boxysystems.jgoogleanalytics.FocusPoint 88 |
  89 |
setUrlBuildingStrategy(URLBuildingStrategy) - 90 | Method in class com.boxysystems.jgoogleanalytics.JGoogleAnalyticsTracker 91 |
Setter injection for URLBuildingStrategy incase if you want to use a different url building logic. 92 |
93 |
94 | 95 | 96 | 97 | 98 | 99 | 100 | 101 | 115 | 118 | 119 | 120 | 121 | 124 | 139 | 140 |
116 | 117 |
141 | 142 | 143 | 144 | B C F G H J L R S T U
145 | 146 | 147 | 148 | -------------------------------------------------------------------------------- /docs/javadoc/0.1/com/boxysystems/jgoogleanalytics/class-use/URLBuildingStrategy.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | Uses of Interface com.boxysystems.jgoogleanalytics.URLBuildingStrategy 8 | 9 | 10 | 11 | 12 | 13 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 44 | 47 | 48 | 49 | 50 | 53 | 68 | 69 |
45 | 46 |
70 | 71 | 72 | 73 |
74 |
75 |

76 | Uses of Interface
com.boxysystems.jgoogleanalytics.URLBuildingStrategy

77 |
78 | 79 | 80 | 81 | 83 | 84 |
82 | Uses of URLBuildingStrategy in com.boxysystems.jgoogleanalytics
85 |   86 |

87 | 88 | 89 | 90 | 91 | 92 | 93 | 95 | 99 | 100 |
Classes in com.boxysystems.jgoogleanalytics that implement URLBuildingStrategy
94 |  classGoogleAnalytics_v1_URLBuildingStrategy 96 | 97 |
98 |           URL building logic for the earlier versions of google analytics (urchin.js)
101 |   102 |

103 | 104 | 105 | 106 | 107 | 108 | 109 | 111 | 115 | 116 |
Methods in com.boxysystems.jgoogleanalytics with parameters of type URLBuildingStrategy
110 |  voidJGoogleAnalyticsTracker.setUrlBuildingStrategy(URLBuildingStrategy urlBuildingStrategy) 112 | 113 |
114 |           Setter injection for URLBuildingStrategy incase if you want to use a different url building logic.
117 |   118 |

119 |


120 | 121 | 122 | 123 | 124 | 125 | 126 | 127 | 141 | 144 | 145 | 146 | 147 | 150 | 165 | 166 |
142 | 143 |
167 | 168 | 169 | 170 |
171 | 172 | 173 | 174 | -------------------------------------------------------------------------------- /docs/javadoc/0.1/com/boxysystems/jgoogleanalytics/package-summary.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | com.boxysystems.jgoogleanalytics 8 | 9 | 10 | 11 | 12 | 13 | 14 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 45 | 48 | 49 | 50 | 51 | 54 | 69 | 70 |
46 | 47 |
71 | 72 | 73 | 74 |
75 |

76 | Package com.boxysystems.jgoogleanalytics 77 |

78 | 79 | 80 | 81 | 83 | 84 | 85 | 86 | 87 | 88 | 89 | 90 | 91 | 92 |
82 | Interface Summary
LoggingAdapterInterface for logging adapter.
URLBuildingStrategyInterface for the URL building strategy
93 |   94 | 95 |

96 | 97 | 98 | 99 | 101 | 102 | 103 | 104 | 105 | 106 | 107 | 108 | 109 | 110 | 111 | 112 | 113 | 114 | 115 | 116 | 117 | 118 | 119 | 120 | 121 | 122 | 123 | 124 | 125 | 126 | 127 | 128 | 129 | 130 | 131 | 132 | 133 | 134 |
100 | Class Summary
FocusPointFocus point of the application.
FocusPoint_UTCreated by IntelliJ IDEA.
GoogleAnalytics_v1_URLBuildingStrategyURL building logic for the earlier versions of google analytics (urchin.js)
HTTPGetMethodSimple class peforming HTTP Get method on the requested url
HTTPGetMethodRequest_UTCreated by IntelliJ IDEA.
JGoogleAnalyticsTrackerMain class for tracking google analytics data.
JGoogleAnalyticsTracker_UTCreated by IntelliJ IDEA.
SystemOutLoggerCreated by IntelliJ IDEA.
135 |   136 | 137 |

138 |


139 | 140 | 141 | 142 | 143 | 144 | 145 | 146 | 160 | 163 | 164 | 165 | 166 | 169 | 184 | 185 |
161 | 162 |
186 | 187 | 188 | 189 |
190 | 191 | 192 | 193 | -------------------------------------------------------------------------------- /docs/javadoc/0.1/index-files/index-4.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | G-Index 8 | 9 | 10 | 11 | 12 | 13 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 44 | 47 | 48 | 49 | 50 | 53 | 68 | 69 |
45 | 46 |
70 | 71 | 72 | 73 | B C F G H J L R S T U
74 |

75 | G

76 |
77 |
GoogleAnalytics_v1_URLBuildingStrategy - class com.boxysystems.jgoogleanalytics.GoogleAnalytics_v1_URLBuildingStrategy.
URL building logic for the earlier versions of google analytics (urchin.js)
GoogleAnalytics_v1_URLBuildingStrategy(String, String) - 78 | Constructor for class com.boxysystems.jgoogleanalytics.GoogleAnalytics_v1_URLBuildingStrategy 79 |
  80 |
GoogleAnalytics_v1_URLBuildingStrategy(String, String, String) - 81 | Constructor for class com.boxysystems.jgoogleanalytics.GoogleAnalytics_v1_URLBuildingStrategy 82 |
  83 |
getContentTitle() - 84 | Method in class com.boxysystems.jgoogleanalytics.FocusPoint 85 |
  86 |
getContentURI() - 87 | Method in class com.boxysystems.jgoogleanalytics.FocusPoint 88 |
  89 |
getName() - 90 | Method in class com.boxysystems.jgoogleanalytics.FocusPoint 91 |
  92 |
getParentFocusPoint() - 93 | Method in class com.boxysystems.jgoogleanalytics.FocusPoint 94 |
  95 |
getResponseCode(HttpURLConnection) - 96 | Method in class com.boxysystems.jgoogleanalytics.HTTPGetMethod 97 |
  98 |
99 |
100 | 101 | 102 | 103 | 104 | 105 | 106 | 107 | 121 | 124 | 125 | 126 | 127 | 130 | 145 | 146 |
122 | 123 |
147 | 148 | 149 | 150 | B C F G H J L R S T U
151 | 152 | 153 | 154 | -------------------------------------------------------------------------------- /docs/javadoc/0.1/help-doc.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | API Help 8 | 9 | 10 | 11 | 12 | 13 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 44 | 47 | 48 | 49 | 50 | 53 | 68 | 69 |
45 | 46 |
70 | 71 | 72 | 73 |
74 |
75 |

76 | How This API Document Is Organized

77 |
78 | This API (Application Programming Interface) document has pages corresponding to the items in the navigation bar, described as follows.

79 | Package

80 |
81 | 82 |

83 | Each package has a page that contains a list of its classes and interfaces, with a summary for each. This page can contain four categories:

85 |
86 |

87 | Class/Interface

88 |
89 | 90 |

91 | Each class, interface, nested class and nested interface has its own separate page. Each of these pages has three sections consisting of a class/interface description, summary tables, and detailed member descriptions:

97 | Each summary entry contains the first sentence from the detailed description for that item. The summary entries are alphabetical, while the detailed descriptions are in the order they appear in the source code. This preserves the logical groupings established by the programmer.
98 |

99 | Use

100 |
101 | Each documented package, class and interface has its own Use page. This page describes what packages, classes, methods, constructors and fields use any part of the given class or package. Given a class or interface A, its Use page includes subclasses of A, fields declared as A, methods that return A, and methods and constructors with parameters of type A. You can access this page by first going to the package, class or interface, then clicking on the "Use" link in the navigation bar.
102 |

103 | Tree (Class Hierarchy)

104 |
105 | There is a Class Hierarchy page for all packages, plus a hierarchy for each package. Each hierarchy page contains a list of classes and a list of interfaces. The classes are organized by inheritance structure starting with java.lang.Object. The interfaces do not inherit from java.lang.Object. 107 |
108 |

109 | Deprecated API

110 |
111 | The Deprecated API page lists all of the API that have been deprecated. A deprecated API is not recommended for use, generally due to improvements, and a replacement API is usually given. Deprecated APIs may be removed in future implementations.
112 |

113 | Index

114 |
115 | The Index contains an alphabetic list of all classes, interfaces, constructors, methods, and fields.
116 |

117 | Prev/Next

118 | These links take you to the next or previous class, interface, package, or related page.

119 | Frames/No Frames

120 | These links show and hide the HTML frames. All pages are available with or without frames. 121 |

122 |

123 | Serialized Form

124 | Each serializable or externalizable class has a description of its serialization fields and methods. This information is of interest to re-implementors, not to developers using the API. While there is no link in the navigation bar, you can get to this information by going to any serialized class and clicking "Serialized Form" in the "See also" section of the class description. 125 |

126 | 127 | 128 | This help file applies to API documentation generated using the standard doclet. 129 | 130 |
131 |


132 | 133 | 134 | 135 | 136 | 137 | 138 | 139 | 153 | 156 | 157 | 158 | 159 | 162 | 177 | 178 |
154 | 155 |
179 | 180 | 181 | 182 |
183 | 184 | 185 | 186 | --------------------------------------------------------------------------------