OWLOntology ontology, OWLOntologyLoaderConfiguration configuration)
throws IOException {
Reader reader = null;
InputStream is = null;
try {
KRSS2DocumentFormat format = new KRSS2DocumentFormat();
KRSS2Parser parser;
if (documentSource.isReaderAvailable()) {
reader = documentSource.getReader();
parser = new KRSS2Parser(reader);
} else if (documentSource.isInputStreamAvailable()) {