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
IOException
public ConsumerProperties(Properties consumerProperties)
public static URL getResource(String name, ClassLoader loader) throws IOException
IOException
public static Properties getProperties(URL source) throws IOException
IOException
public OAuthConsumer getConsumer(String name) throws MalformedURLException
MalformedURLException
protected OAuthConsumer newConsumer(String name) throws MalformedURLException
MalformedURLException
Copyright © 2023. All rights reserved.