Package org.djunits

Class AvailableLocalizations

java.lang.Object
org.djunits.AvailableLocalizations

public final class AvailableLocalizations extends Object

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 Details

    • availableLocalizations

      public static List<String> availableLocalizations(String prefix, String path)
      Build a list of locale names that are available for a given prefix.
      Parameters:
      prefix - the prefix of the localization file names
      path - 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)