public interface SecureSettings
extends java.io.Closeable
SecureSetting
.Modifier and Type | Method and Description |
---|---|
void |
close() |
java.io.InputStream |
getFile(java.lang.String setting)
Return a file setting.
|
java.util.Set<java.lang.String> |
getSettingNames()
Returns the names of all secure settings available.
|
SecureString |
getString(java.lang.String setting)
Return a string setting.
|
boolean |
isLoaded()
Returns true iff the settings are loaded and retrievable.
|
boolean isLoaded()
java.util.Set<java.lang.String> getSettingNames()
SecureString getString(java.lang.String setting) throws java.security.GeneralSecurityException
SecureString
should be closed once it is used.java.security.GeneralSecurityException
java.io.InputStream getFile(java.lang.String setting) throws java.security.GeneralSecurityException
InputStream
should be closed once it is used.java.security.GeneralSecurityException
void close() throws java.io.IOException
close
in interface java.lang.AutoCloseable
close
in interface java.io.Closeable
java.io.IOException