edu.ucsb.nceas.metacat.util

## Class SkinUtil

- java.lang.Object
- - edu.ucsb.nceas.metacat.util.SkinUtil

-     public class SkinUtil
      extends java.lang.Object

- - ### Method Summary

    All Methods Static Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `static boolean` | `areSkinsConfigured()` Reports whether skins are fully configured.
    `static java.util.Vector<java.lang.String>` | `getSkinNames()` Gets a list of available skin names by parsing a csv property from metacat.properties.
    `static void` | `setSkinName(java.util.Vector<java.lang.String> names)` Set the names of skin.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Method Detail

    - #### areSkinsConfigured

          public static boolean areSkinsConfigured()
                                            throws MetacatUtilException

      Reports whether skins are fully configured.
      Returns:
        a boolean that is true if skins are not unconfigured and false otherwise
      Throws:
        `MetacatUtilException`

    - #### getSkinNames

          public static java.util.Vector<java.lang.String> getSkinNames()
                                                                 throws edu.ucsb.nceas.utilities.PropertyNotFoundException

      Gets a list of available skin names by parsing a csv property from metacat.properties.
      Returns:
        a Vector of Strings holding skin names
      Throws:
        `edu.ucsb.nceas.utilities.PropertyNotFoundException`

    - #### setSkinName

          public static void setSkinName(java.util.Vector<java.lang.String> names)

      Set the names of skin. We use this method for testing
      Parameters:
        `names` - the name of skins will be set

Copyright © 2023 Regents of the University of California. All Rights Reserved.