@Override public InputStream createInputStream(URI uri, Map<?, ?> options) throws IOException { // timeout is set here because e.g. SAXXMIHandler.resolveEntity(String,String) calls it without a timeout // causing the builder to wait too long... options = addTimeout(options); return super.createInputStream(uri, options); }
@Override public Map<String, ?> contentDescription(URI uri, Map<?, ?> options) throws IOException { options = addTimeout(options); return super.contentDescription(uri, options); }