Package ucar.units

Class PrefixDBManager

    • Constructor Detail

      • PrefixDBManager

        public PrefixDBManager()
    • Method Detail

      • instance

        public static PrefixDB instance()
                                 throws PrefixDBException
        Gets the current prefix database.
        Returns:
        The current prefix database.
        Throws:
        PrefixDBException - The current prefix database couldn't be created.
      • setInstance

        public static void setInstance​(PrefixDB instance)
        Sets the current prefix database.
        Parameters:
        instance - The prefix database to be made the current one.