package convert.relaxng.input;

import convert.relaxng.edit.SchemaCollection;
import convert.relaxng.translate.util.InvalidParamsException;
import org.xml.sax.ErrorHandler;
import org.xml.sax.SAXException;

import java.io.IOException;

abstract public class AbstractMultiInputFormat implements MultiInputFormat {
  public SchemaCollection load(String uri, String[] params, String outputFormat, ErrorHandler eh)
          throws InputFailedException, InvalidParamsException, IOException, SAXException {
    return load(new String[] { uri }, params, outputFormat, eh);
  }
}
