public static boolean isAValuesDirectory(String directoryName){
  if (directoryName == null) {
    throw new NullPointerException("directoryName can not be null");
  }
  return directoryName.equals("values") || directoryName.startsWith("values-");
}

public static boolean isAValuesDirectory ( String directoryName ) { if ( directoryName == null ) { throw new NullPointerException ( "directoryName can not be null" ) ; } return directoryName . equals ( "values" ) || directoryName . startsWith ( "values-" ) ; }
is a value directory
