ClasspathPropertiesConfiguration Classe
- java.
lang. Object - com.
microsoft. bot. integration. ClasspathPropertiesConfiguration
- com.
Implementazioni
public class ClasspathPropertiesConfiguration
implements Configuration
Fornisce l'accesso alle proprietà definite in un file Properties che si trova nel classpath.
Riepilogo dei costruttori
| Costruttore | Descrizione |
|---|---|
| ClasspathPropertiesConfiguration() |
Carica le proprietà dall'applicazione. |
Riepilogo dei metodi
| Modificatore e tipo | Metodo e descrizione |
|---|---|
| java.util.Properties |
getProperties()
Restituisce le proprietà nella configurazione. |
| java.lang.String[] |
getProperties(String key)
Restituisce una matrice di valori da una voce delimitata da virgole. |
| java.lang.String |
getProperty(String key)
Restituisce un valore per il nome della proprietà specificato. |
Metodi ereditati da java.lang.Object
Dettagli costruttore
ClasspathPropertiesConfiguration
public ClasspathPropertiesConfiguration()
Carica le proprietà dal file 'application.properties'.
Dettagli metodo
getProperties
public Properties getProperties()
Restituisce le proprietà nella configurazione.
Restituisce:
getProperties
public String[] getProperties(String key)
Restituisce una matrice di valori da una voce delimitata da virgole.
Parametri:
Restituisce:
getProperty
public String getProperty(String key)
Restituisce un valore per il nome della proprietà specificato.
Parametri:
Restituisce: