Class inputValidator

java.lang.Object
com.example.oblong.inputValidator

public class inputValidator extends Object
The inputValidator class ensures that information entered by users is formatted correctly.
  • Constructor Details

    • inputValidator

      public inputValidator(android.content.Context context)
  • Method Details

    • validateUserProfile

      public boolean validateUserProfile(String name, String email, String phone)
      The validateUserProfile method validates the user profile information
      Parameters:
      name -
      email -
      phone -
      Returns:
    • validateFacilityProfile

      public boolean validateFacilityProfile(String name, String email, String phone)
      The validateFacilityProfile method validates the facility profile information
      Parameters:
      name -
      email -
      phone -
      Returns:
    • validateCreateNotification

      public boolean validateCreateNotification(String label, String content, String targets)
      The validateCreateNotification method validates
      Parameters:
      label -
      content -
      targets -
      Returns: