|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnesstar.example.Client
public class Client
An example client.
| Field Summary | |
|---|---|
static boolean |
init
param |
| Constructor Summary | |
|---|---|
Client()
|
|
| Method Summary | |
|---|---|
static void |
addDatafile(Study study,
String studyID,
String fileID)
Adds a feature to the Datafile attribute of the Client class |
static Dataset |
addDataset(Catalog catalog,
String name)
Adds a feature to the Dataset attribute of the Client class |
static Study |
addStudy(StudyHome studyHome,
String uid,
String sid)
Adds a feature to the Study attribute of the Client class |
static File |
getLocalDB()
Gets the localDB attribute of the Client class |
static File |
getTestFile(String name)
|
static void |
loadLocalDB()
Method |
static void |
loadServices(String serverID)
Method |
static void |
main(String[] args)
The main program for the Client class |
static String |
query(String catIP,
String query)
Method |
static void |
saveLocalDB()
Method |
static void |
setDebug()
Sets the debug attribute of the Client class |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static boolean init
| Constructor Detail |
|---|
public Client()
| Method Detail |
|---|
public static void setDebug()
public static File getTestFile(String name)
throws Exception
name -
Exception
public static File getLocalDB()
throws Exception
Exception
public static Dataset addDataset(Catalog catalog,
String name)
throws Exception
catalog - The feature to be added to the Dataset attributename - The feature to be added to the Dataset attribute
Exception
public static void addDatafile(Study study,
String studyID,
String fileID)
throws Exception
study - The feature to be added to the Datafile attributestudyID - The feature to be added to the Datafile attributefileID - The feature to be added to the Datafile attribute
Exception
public static Study addStudy(StudyHome studyHome,
String uid,
String sid)
throws Exception
studyHome - The studyHome objectuid - The id of the studysid - The short id (used as a name of the XML file)
Exception
public static void loadLocalDB()
throws Exception
Exception
public static void saveLocalDB()
throws Exception
Exception
public static void loadServices(String serverID)
throws Exception
serverID -
Exception
public static String query(String catIP,
String query)
throws Exception
catIP - query -
Exception
public static void main(String[] args)
throws Exception
args - The command line arguments
Exception
|
Nesstar SDK | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||