code: public static String getSkinName(final String skinDirName) {
          try {
              final Properties ret = new Properties();
              final File file = getWebFile("/skins/" + skinDirName + "/skin.properties");
              ret.load(new FileInputStream(file));
  
              return ret.getProperty("name");
          } catch (final Exception e) {
              LOGGER.log(Level.ERROR, "Read skin [" + skinDirName + "]'s  configuration failed: " + e.getMessage());
  
              return null;
          }
      }
docs: Gets the skin name for the specified skin directory name. The skin name was configured in skin.properties
  file({@code name} as the key) under skin directory specified by the given skin directory name.
  
  @param skinDirName the given skin directory name
  @return skin name, returns {@code null} if not found or error occurs