1.3. Java Programming

The Java API implements the DataHubConnector class as the basic class used to communicate with the DataHub instance. Programmers writing stand-alone applications need only the DataHubConnector and DataHubPoint classes.

Java Class Overview

The following classes are included in the Java API installation. They are informally arranged here to give some idea of the interrelationships:

Classes used for general programming
Classes used for web programming
For internal use

Import Statements

import cogent.*;

or

import cogent.DataHubConnector;
import cogent.DataHubPoint;