public class UrlSetupValidityChecker extends Object implements SetupValidityChecker
| Constructor and Description |
|---|
UrlSetupValidityChecker() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
checkValidity(String pref_name,
String value_to_check,
Preferences preferences,
PrintWriter out)
Checks to make sure the
value_to_check is a valid URL string. |
public boolean checkValidity(String pref_name, String value_to_check, Preferences preferences, PrintWriter out)
value_to_check is a valid URL string.checkValidity in interface SetupValidityCheckerpref_name - the name of the preference being checkedvalue_to_check - the value to checkpreferences - the full set of preferencesout - an output stream this instruction can use to print out any error messages that it deems
appropriatetrue if value_to_check is valid; false otherwiseSetupValidityChecker.checkValidity(String, String, java.util.prefs.Preferences, PrintWriter)Copyright © 2008-2014 Red Hat, Inc.. All Rights Reserved.