bitly-shorten / net.thauvin.erik.bitly / Bitly / <init>

<init>

Bitly(accessToken: String)

Creates a new instance using an API Access Token.

Parameters

accessToken - The API access token.

Bitly(properties: Properties, key: String = Constants.ENV_ACCESS_TOKEN)

Creates a new instance using a Properties and Property Key.

Parameters

properties - The properties.

key - The property key containing the API Access Token.

Bitly(propertiesFilePath: Path, key: String = Constants.ENV_ACCESS_TOKEN)

Creates a new instance using a Properties File Path and Property Key.

Parameters

propertiesFilePath - The properties file path.

key - The property key containing the API Access Token.

Bitly(propertiesFile: File, key: String = Constants.ENV_ACCESS_TOKEN)

Creates a new instance using a Properties File and Property Key.

Parameters

propertiesFile - The properties file.

key - The property key containing the API Access Token.

Bitly()

Creates new instance.

Constructor
Creates new instance.