twitter4j.conf

## Class PropertyConfiguration

- java.lang.Object
- - twitter4j.conf.PropertyConfiguration

All Implemented Interfaces:
  Serializable, AuthorizationConfiguration, Configuration

    public final class PropertyConfiguration
    extends Object
    implements Serializable

Author:
  Yusuke Yamamoto - yusuke at mac.com
See Also:
  Serialized Form

### Constructor Summary

Constructors
Constructor and Description
`PropertyConfiguration(InputStream is)`
`PropertyConfiguration(Properties props)`
`PropertyConfiguration(Properties props, String treePath)`

### Method Summary

All Methods Instance Methods Concrete Methods
`void` `dumpConfiguration()`
`boolean` `equals(Object o)`
`int` `getAsyncNumThreads()`
`long` `getContributingTo()`
`String` `getDispatcherImpl()`
`HttpClientConfiguration` `getHttpClientConfiguration()`
`int` `getHttpStreamingReadTimeout()`
`String` `getLoggerFactory()`
`String` `getMediaProvider()`
`String` `getMediaProviderAPIKey()`
`Properties` `getMediaProviderParameters()`
`String` `getOAuth2AccessToken()`
`String` `getOAuth2InvalidateTokenURL()`
`String` `getOAuth2Scope()`
`String` `getOAuth2TokenType()`
`String` `getOAuth2TokenURL()`
`String` `getOAuthAccessToken()`
`String` `getOAuthAccessTokenSecret()`
`String` `getOAuthAccessTokenURL()`
`String` `getOAuthAuthenticationURL()`
`String` `getOAuthAuthorizationURL()`
`String` `getOAuthConsumerKey()`
`String` `getOAuthConsumerSecret()`
`String` `getOAuthRequestTokenURL()`
`String` `getPassword()`
`String` `getRestBaseURL()`
`String` `getSiteStreamBaseURL()`
`String` `getStreamBaseURL()`
`String` `getStreamThreadName()`
`String` `getUploadBaseURL()`
`String` `getUser()`
`String` `getUserStreamBaseURL()`
`int` `hashCode()`
`boolean` `isApplicationOnlyAuthEnabled()`
`boolean` `isDaemonEnabled()`
`boolean` `isDebugEnabled()`
`boolean` `isIncludeEmailEnabled()`
`boolean` `isIncludeEntitiesEnabled()`
`boolean` `isIncludeExtAltTextEnabled()`
`boolean` `isIncludeMyRetweetEnabled()`
`boolean` `isJSONStoreEnabled()`
`boolean` `isMBeanEnabled()`
`boolean` `isStallWarningsEnabled()`
`boolean` `isTrimUserEnabled()`
`boolean` `isTweetModeExtended()`
`boolean` `isUserStreamRepliesAllEnabled()`
`boolean` `isUserStreamWithFollowingsEnabled()`
`void` `setIncludeExtAltTextEnabled(boolean enabled)`
`void` `setIncludeMyRetweetEnabled(boolean enabled)`
`void` `setTrimUserEnabled(boolean enabled)`
`void` `setTweetModeExtended(boolean enabled)`
`String` `toString()`

### Methods inherited from class java.lang.Object

`getClass, notify, notifyAll, wait, wait, wait`

### Constructor Detail

#### PropertyConfiguration

    public PropertyConfiguration(InputStream is)

#### PropertyConfiguration

    public PropertyConfiguration(Properties props)

#### PropertyConfiguration

    public PropertyConfiguration(Properties props,
                                 String treePath)

### Method Detail

#### dumpConfiguration

    public void dumpConfiguration()

#### isDebugEnabled

    public final boolean isDebugEnabled()

Specified by:
  `isDebugEnabled` in interface `Configuration`

#### getUser

    public final String getUser()

Specified by:
  `getUser` in interface `AuthorizationConfiguration`
Specified by:
  `getUser` in interface `Configuration`

#### getPassword

    public final String getPassword()

Specified by:
  `getPassword` in interface `AuthorizationConfiguration`
Specified by:
  `getPassword` in interface `Configuration`

#### getHttpClientConfiguration

    public HttpClientConfiguration getHttpClientConfiguration()

Specified by:
  `getHttpClientConfiguration` in interface `Configuration`

#### getHttpStreamingReadTimeout

    public int getHttpStreamingReadTimeout()

Specified by:
  `getHttpStreamingReadTimeout` in interface `Configuration`

#### getOAuthConsumerKey

    public final String getOAuthConsumerKey()

Specified by:
  `getOAuthConsumerKey` in interface `AuthorizationConfiguration`
Specified by:
  `getOAuthConsumerKey` in interface `Configuration`

#### getOAuthConsumerSecret

    public final String getOAuthConsumerSecret()

Specified by:
  `getOAuthConsumerSecret` in interface `AuthorizationConfiguration`
Specified by:
  `getOAuthConsumerSecret` in interface `Configuration`

#### getOAuthAccessToken

    public String getOAuthAccessToken()

Specified by:
  `getOAuthAccessToken` in interface `AuthorizationConfiguration`
Specified by:
  `getOAuthAccessToken` in interface `Configuration`

#### getOAuthAccessTokenSecret

    public String getOAuthAccessTokenSecret()

Specified by:
  `getOAuthAccessTokenSecret` in interface `AuthorizationConfiguration`
Specified by:
  `getOAuthAccessTokenSecret` in interface `Configuration`

#### getOAuth2TokenType

    public String getOAuth2TokenType()

Specified by:
  `getOAuth2TokenType` in interface `AuthorizationConfiguration`
Specified by:
  `getOAuth2TokenType` in interface `Configuration`

#### getOAuth2AccessToken

    public String getOAuth2AccessToken()

Specified by:
  `getOAuth2AccessToken` in interface `AuthorizationConfiguration`
Specified by:
  `getOAuth2AccessToken` in interface `Configuration`

#### getOAuth2Scope

    public String getOAuth2Scope()

Specified by:
  `getOAuth2Scope` in interface `Configuration`

#### getAsyncNumThreads

    public final int getAsyncNumThreads()

Specified by:
  `getAsyncNumThreads` in interface `Configuration`

#### getContributingTo

    public final long getContributingTo()

Specified by:
  `getContributingTo` in interface `Configuration`

#### getRestBaseURL

    public String getRestBaseURL()

Specified by:
  `getRestBaseURL` in interface `Configuration`

#### getUploadBaseURL

    public String getUploadBaseURL()

Specified by:
  `getUploadBaseURL` in interface `Configuration`

#### getStreamBaseURL

    public String getStreamBaseURL()

Specified by:
  `getStreamBaseURL` in interface `Configuration`

#### getUserStreamBaseURL

    public String getUserStreamBaseURL()

Specified by:
  `getUserStreamBaseURL` in interface `Configuration`

#### getSiteStreamBaseURL

    public String getSiteStreamBaseURL()

Specified by:
  `getSiteStreamBaseURL` in interface `Configuration`

#### getOAuthRequestTokenURL

    public String getOAuthRequestTokenURL()

Specified by:
  `getOAuthRequestTokenURL` in interface `Configuration`

#### getOAuthAuthorizationURL

    public String getOAuthAuthorizationURL()

Specified by:
  `getOAuthAuthorizationURL` in interface `Configuration`

#### getOAuthAccessTokenURL

    public String getOAuthAccessTokenURL()

Specified by:
  `getOAuthAccessTokenURL` in interface `Configuration`

#### getOAuthAuthenticationURL

    public String getOAuthAuthenticationURL()

Specified by:
  `getOAuthAuthenticationURL` in interface `Configuration`

#### getOAuth2TokenURL

    public String getOAuth2TokenURL()

Specified by:
  `getOAuth2TokenURL` in interface `Configuration`

#### getOAuth2InvalidateTokenURL

    public String getOAuth2InvalidateTokenURL()

Specified by:
  `getOAuth2InvalidateTokenURL` in interface `Configuration`

#### getDispatcherImpl

    public String getDispatcherImpl()

Specified by:
  `getDispatcherImpl` in interface `Configuration`

#### getLoggerFactory

    public String getLoggerFactory()

Specified by:
  `getLoggerFactory` in interface `Configuration`

#### isIncludeEntitiesEnabled

    public boolean isIncludeEntitiesEnabled()

Specified by:
  `isIncludeEntitiesEnabled` in interface `Configuration`

#### isIncludeMyRetweetEnabled

    public boolean isIncludeMyRetweetEnabled()

Specified by:
  `isIncludeMyRetweetEnabled` in interface `Configuration`

#### setIncludeMyRetweetEnabled

    public void setIncludeMyRetweetEnabled(boolean enabled)

#### isTrimUserEnabled

    public boolean isTrimUserEnabled()

Specified by:
  `isTrimUserEnabled` in interface `Configuration`

#### isIncludeExtAltTextEnabled

    public boolean isIncludeExtAltTextEnabled()

Specified by:
  `isIncludeExtAltTextEnabled` in interface `Configuration`

#### isTweetModeExtended

    public boolean isTweetModeExtended()

Specified by:
  `isTweetModeExtended` in interface `Configuration`

#### isDaemonEnabled

    public boolean isDaemonEnabled()

Specified by:
  `isDaemonEnabled` in interface `Configuration`

#### isIncludeEmailEnabled

    public boolean isIncludeEmailEnabled()

Specified by:
  `isIncludeEmailEnabled` in interface `Configuration`

#### setTrimUserEnabled

    public void setTrimUserEnabled(boolean enabled)

#### setIncludeExtAltTextEnabled

    public void setIncludeExtAltTextEnabled(boolean enabled)

#### setTweetModeExtended

    public void setTweetModeExtended(boolean enabled)

#### isJSONStoreEnabled

    public boolean isJSONStoreEnabled()

Specified by:
  `isJSONStoreEnabled` in interface `Configuration`

#### isMBeanEnabled

    public boolean isMBeanEnabled()

Specified by:
  `isMBeanEnabled` in interface `Configuration`

#### isUserStreamRepliesAllEnabled

    public boolean isUserStreamRepliesAllEnabled()

Specified by:
  `isUserStreamRepliesAllEnabled` in interface `Configuration`

#### isUserStreamWithFollowingsEnabled

    public boolean isUserStreamWithFollowingsEnabled()

Specified by:
  `isUserStreamWithFollowingsEnabled` in interface `Configuration`

#### isStallWarningsEnabled

    public boolean isStallWarningsEnabled()

Specified by:
  `isStallWarningsEnabled` in interface `Configuration`

#### isApplicationOnlyAuthEnabled

    public boolean isApplicationOnlyAuthEnabled()

Specified by:
  `isApplicationOnlyAuthEnabled` in interface `Configuration`

#### getMediaProvider

    public String getMediaProvider()

Specified by:
  `getMediaProvider` in interface `Configuration`

#### getMediaProviderAPIKey

    public String getMediaProviderAPIKey()

Specified by:
  `getMediaProviderAPIKey` in interface `Configuration`

#### getMediaProviderParameters

    public Properties getMediaProviderParameters()

Specified by:
  `getMediaProviderParameters` in interface `Configuration`

#### getStreamThreadName

    public String getStreamThreadName()

Specified by:
  `getStreamThreadName` in interface `Configuration`

#### equals

    public boolean equals(Object o)

Overrides:
  `equals` in class `Object`

#### hashCode

    public int hashCode()

Overrides:
  `hashCode` in class `Object`

#### toString

    public String toString()

Overrides:
  `toString` in class `Object`