com.evdb.javaapi
Class APIConfiguration

java.lang.Object
  extended by com.evdb.javaapi.APIConfiguration

public class APIConfiguration
extends java.lang.Object

API Configuration constants

Author:
tylerv

Constructor Summary
APIConfiguration()
           
 
Method Summary
static java.lang.String getApiKey()
          Get the API key, after having stored it via setApiKey.
static java.lang.String getBaseURL()
          Base URL
static java.lang.String getEvdbPassword()
           
static java.lang.String getEvdbUser()
          Return te EVDB Username
static void setApiKey(java.lang.String newApiKey)
          Set the app key
static java.lang.String setBaseURL(java.lang.String baseURL)
          Base URL
static void setEvdbPassword(java.lang.String evdbPassword)
          Set the EVDB login password
static void setEvdbUser(java.lang.String evdbUser)
          Set the EVDB API username
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

APIConfiguration

public APIConfiguration()
Method Detail

setApiKey

public static void setApiKey(java.lang.String newApiKey)
Set the app key

Parameters:
newApiKey -

getApiKey

public static java.lang.String getApiKey()
                                  throws EVDBRuntimeException
Get the API key, after having stored it via setApiKey.

Returns:
apiKey The EVDB API key.
Throws:
EVDBRuntimeException

getBaseURL

public static java.lang.String getBaseURL()
Base URL

Returns:
the base URL

setBaseURL

public static java.lang.String setBaseURL(java.lang.String baseURL)
Base URL

Returns:
the base URL

getEvdbPassword

public static java.lang.String getEvdbPassword()
                                        throws EVDBRuntimeException
Returns:
the evdbPassword
Throws:
EVDBRuntimeException

setEvdbPassword

public static void setEvdbPassword(java.lang.String evdbPassword)
Set the EVDB login password

Parameters:
evdbPassword - the evdbPassword to set

getEvdbUser

public static java.lang.String getEvdbUser()
                                    throws EVDBRuntimeException
Return te EVDB Username

Returns:
the evdbUser
Throws:
EVDBRuntimeException

setEvdbUser

public static void setEvdbUser(java.lang.String evdbUser)
Set the EVDB API username

Parameters:
evdbUser - the evdbUser to set


Copyright © 2007 Eventful Inc. All Rights Reserved.