Class SchemaLoader


  • public final class SchemaLoader
    extends Object
    The purpose of this class is to serve as a resource anchor for loading event schemas.
    • Method Detail

      • loadSchema

        public static String loadSchema​(String schema)
        Loads a schema file. First, it tries to load the schema s a classpath resource, falling back to filesystem access.
        Parameters:
        schema - the name of the schema file
        Returns:
        schema contents