public class ConsumerProperties extends Object
| Constructor and Description |
|---|
ConsumerProperties(Properties consumerProperties) |
ConsumerProperties(String resourceName,
ClassLoader loader) |
| Modifier and Type | Method and Description |
|---|---|
OAuthConsumer |
getConsumer(String name)
Get the consumer with the given name.
|
static Properties |
getProperties(URL source) |
static URL |
getResource(String name,
ClassLoader loader) |
protected OAuthConsumer |
newConsumer(String name) |
public ConsumerProperties(String resourceName, ClassLoader loader) throws IOException
IOExceptionpublic ConsumerProperties(Properties consumerProperties)
public static URL getResource(String name, ClassLoader loader) throws IOException
IOExceptionpublic static Properties getProperties(URL source) throws IOException
IOExceptionpublic OAuthConsumer getConsumer(String name) throws MalformedURLException
MalformedURLExceptionprotected OAuthConsumer newConsumer(String name) throws MalformedURLException
MalformedURLExceptionCopyright 2015- Charles R. Severance and licensed CC-BY Attribution 4.0