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

play.utils.NoOpEntityResolver Maven / Gradle / Ivy

There is a newer version: 2.6.2
Show newest version
package play.utils;

import org.xml.sax.EntityResolver;
import org.xml.sax.InputSource;
import org.xml.sax.SAXException;

import java.io.IOException;
import java.io.StringReader;

public class NoOpEntityResolver implements EntityResolver {

    @Override
    public InputSource resolveEntity(String publicId, String systemId) throws SAXException, IOException {
        return new InputSource(new StringReader(""));
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy