All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.silanis.esl.api.util.SchemaUtil Maven / Gradle / Ivy

There is a newer version: 11.59.0
Show newest version
package com.silanis.esl.api.util;

public class SchemaUtil {

    public static final String trim(String str) {
        if (str == null) {
            return null;
        }
        return str.trim();
    }

    public static final String sanitize(String str) {
        // Use HTMLSanitizer
        return str;
    }

    public static void notANull (String key, Object value) {
        if (null == value) { throw new IllegalArgumentException(key + " cannot be null"); }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy