com.formkiq.server.service.ValidatorService Maven / Gradle / Ivy
package com.formkiq.server.service;
/**
* Validation Service.
*
*/
public interface ValidatorService {
/**
* Validates Email.
* @param email String
* @throws InvalidEmailException InvalidEmailException
*/
void validateEmail(String email) throws InvalidEmailException;
/**
* Validate JSON.
* @param json String
* @throws InvalidJSONException InvalidJSONException
*/
void validateJSON(String json) throws InvalidJSONException;
}