private int queryVerbosity () {
    String verbStr = System.getProperty(pVerbosity);

    if (verbStr == null) {
      if (resources==null) readProperties();
      if (resources==null) return defaultVerbosity;
      try {
	verbStr = resources.getString("verbosity");
      } catch (MissingResourceException e) {
	return defaultVerbosity;
      }
    }

    try {
      int verb = Integer.parseInt(verbStr.trim());
      return verb;
    } catch (Exception e) {
      System.err.println("Cannot parse verbosity: \"" + verbStr + "\"");
      return defaultVerbosity;
    }
  }
private int queryVerbosity () {
    String verbStr = System.getProperty(pVerbosity);

    if (verbStr == null) {
      if (resources==null) readProperties();
      if (resources==null) return defaultVerbosity;
      try {
	verbStr = resources.getString("verbosity");
      } catch (MissingResourceException e) {
	return defaultVerbosity;
      }
    }

    try {
      int verb = Integer.parseInt(verbStr.trim());
      return verb;
    } catch (Exception e) {
      System.err.println("Cannot parse verbosity: \"" + verbStr + "\"");
      return defaultVerbosity;
    }
  }
private int queryVerbosity ( ) { String verbStr = System . getProperty ( pVerbosity ) ; if ( verbStr == null ) { if ( resources == null ) readProperties ( ) ; if ( resources == null ) return defaultVerbosity ; try { verbStr = resources . getString ( "verbosity" ) ; } catch ( MissingResourceException e ) { return defaultVerbosity ; } } try { int verb = Integer . parseInt ( verbStr . trim ( ) ) ; return verb ; } catch ( Exception e ) { System . err . println ( "Cannot parse verbosity: \"" + verbStr + "\"" ) ; return defaultVerbosity ; } }
Obtain the verbosity setting from the properties.

@return The verbosity level from the propertyFile or the
defaultVerbosity.
Obtain the verbosity setting from the properties .