Top Description Fields Constructors Methods
com.oracle.bmc.auth

public Class SimplePrivateKeySupplier

extends Object
implements Supplier<InputStream>
Class Inheritance
All Implemented Interfaces
java.util.function.Supplier
Imports
java.io.File, .FileInputStream, .FileNotFoundException, .InputStream, java.util.function.Supplier

Simple Supplier for the private key that handles missing files.

Field Summary

Modifier and TypeField and Description
private final String

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public InputStream
get()

Implements java.util.function.Supplier.get.

Gets a result.

public String
toString()

Overrides java.lang.Object.toString.

Returns a string representation of the object.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAllwaitwaitwait

Field Detail

pemFilePathback to summary
private final String pemFilePath

Constructor Detail

SimplePrivateKeySupplierback to summary
public SimplePrivateKeySupplier(String pemFilePath)
Annotations
@java.beans.ConstructorProperties

Method Detail

getback to summary
public InputStream get()

Implements java.util.function.Supplier.get.

Doc from java.util.function.Supplier.get.

Gets a result.

Returns:InputStream

a result

Annotations
@Override
toStringback to summary
public String toString()

Overrides java.lang.Object.toString.

Doc from java.lang.Object.toString.

Returns a string representation of the object. Satisfying this method's contract implies a non-null result must be returned.

Returns:String

a string representation of the object