public static class I18n.Source extends Object
| Constructor and Description |
|---|
Source(String name,
String propertiesPath,
Locale defaultLocale,
ClassLoader classLoader)
Creates a new l10n source.
|
| Modifier and Type | Method and Description |
|---|---|
ClassLoader |
getClassLoader()
Returns the source’s class loader.
|
Locale |
getDefaultLocale()
Returns the default locale of the source.
|
String |
getName()
Returns the name of the application.
|
String |
getPropertiesPath()
Returns the path of the properties.
|
public Source(String name, String propertiesPath, Locale defaultLocale, ClassLoader classLoader)
name - The name of the applicationpropertiesPath - The path of the propertiesdefaultLocale - The default locale of the sourceclassLoader - The class loader for the source’s resourcespublic String getName()
public String getPropertiesPath()
public Locale getDefaultLocale()
public ClassLoader getClassLoader()
Copyright © 2026. All rights reserved.