Package com.github.badpop.jcoinbase
Class JCoinbaseProperties
java.lang.Object
com.github.badpop.jcoinbase.JCoinbaseProperties
public class JCoinbaseProperties
extends java.lang.Object
This class is used to get properties from the jcoinbase.properties file and to wrap them with
user parameters (api key, secret, api version, ...). Thus the data are centralized in this class.
-
Constructor Summary
Constructors Constructor Description JCoinbaseProperties()
-
Method Summary
Modifier and Type Method Description protected JCoinbaseProperties
build(java.lang.String apiKey, java.lang.String secret, java.lang.String apiVersion)
Call this method to build a properly configured JCoinbaseProperties.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
JCoinbaseProperties
public JCoinbaseProperties()
-
-
Method Details
-
build
protected JCoinbaseProperties build(java.lang.String apiKey, java.lang.String secret, java.lang.String apiVersion)Call this method to build a properly configured JCoinbaseProperties.- Parameters:
apiKey
- the coinbase api keysecret
- the coinbase api secretapiVersion
- the coinbase api version- Returns:
- a new configured
JCoinbaseProperties
-