L3D
Class Spark

java.lang.Object
  extended by L3D.Spark

public class Spark
extends Object


Field Summary
static JSONArray allCores
           
static JSONObject availableCores
           
static String name
           
 
Constructor Summary
Spark(String token)
           
Spark(String username, String password)
           
 
Method Summary
static String getAddress(String _name)
           
static String readAll(Reader rd)
           
static JSONArray readJsonArrayFromUrl(String url)
           
static JSONArray readJsonArrayFromUrl(String dataURL, String username, String password)
           
static JSONObject readJsonFromUrl(String url)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

availableCores

public static JSONObject availableCores

allCores

public static JSONArray allCores

name

public static String name
Constructor Detail

Spark

public Spark(String token)

Spark

public Spark(String username,
             String password)
Method Detail

readAll

public static String readAll(Reader rd)

readJsonFromUrl

public static JSONObject readJsonFromUrl(String url)

readJsonArrayFromUrl

public static JSONArray readJsonArrayFromUrl(String url)

readJsonArrayFromUrl

public static JSONArray readJsonArrayFromUrl(String dataURL,
                                             String username,
                                             String password)

getAddress

public static String getAddress(String _name)


Processing library L3D by Alex Hornstein. (c) 2015