Package org.djunits
Class AvailableLocalizations
java.lang.Object
org.djunits.AvailableLocalizations
Copyright (c) 2013-2025 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See DJUNITS License.
- Author:
- Peter Knoppers
-
Method Summary
Modifier and TypeMethodDescriptionavailableLocalizations(String prefix, String path) Build a list of locale names that are available for a given prefix.
-
Method Details
-
availableLocalizations
Build a list of locale names that are available for a given prefix.- Parameters:
prefix- the prefix of the localization file namespath- the path to the resource directory to scan- Returns:
- the list of matching locale names (which always starts with "en", even though there may not be such a localization file)
-