| Package | Description |
|---|---|
| net.csdn.common.env | |
| net.csdn.common.logging | |
| net.csdn.common.logging.log4j | |
| net.csdn.common.settings |
| Constructor and Description |
|---|
Environment(Settings settings) |
| Modifier and Type | Method and Description |
|---|---|
static CSLogger |
Loggers.getLogger(Class clazz,
Settings settings,
String... prefixes) |
static CSLogger |
Loggers.getLogger(String loggerName,
Settings settings,
String... prefixes) |
| Modifier and Type | Method and Description |
|---|---|
static void |
LogConfigurator.configure(Settings settings) |
| Modifier and Type | Class and Description |
|---|---|
class |
ImmutableSettings
BlogInfo: william
Date: 11-9-1
Time: 下午3:56
|
| Modifier and Type | Field and Description |
|---|---|
static Settings |
ImmutableSettings.Builder.EMPTY_SETTINGS |
| Modifier and Type | Method and Description |
|---|---|
Settings |
ImmutableSettings.Builder.build()
Builds a
Settings (underlying uses ImmutableSettings) based on everything
set on this builder. |
Settings |
Settings.Builder.build()
Builds the settings.
|
Settings |
ImmutableSettings.getByPrefix(String prefix) |
Settings |
Settings.getByPrefix(String prefix)
A settings that are filtered (and key is removed) with the specified prefix.
|
static Settings |
InternalSettingsPreparer.simplePrepareSettings(Settings pSettings,
InputStream inputStream) |
| Modifier and Type | Method and Description |
|---|---|
Map<String,Settings> |
ImmutableSettings.getGroups(String settingPrefix) |
Map<String,Settings> |
Settings.getGroups(String settingPrefix)
Returns group settings for the given setting prefix.
|
static Tuple<Settings,Environment> |
InternalSettingsPreparer.prepareSettings(Settings pSettings,
String applicationYmlName) |
| Modifier and Type | Method and Description |
|---|---|
static Tuple<Settings,Environment> |
InternalSettingsPreparer.prepareSettings(Settings pSettings,
String applicationYmlName) |
ImmutableSettings.Builder |
ImmutableSettings.Builder.put(Settings settings)
Sets all the provided settings.
|
static Settings |
InternalSettingsPreparer.simplePrepareSettings(Settings pSettings,
InputStream inputStream) |
Copyright © 2022. All rights reserved.