*/
public class OWLFunctionalSyntaxOWLParser extends AbstractOWLParser {
public OWLOntologyFormat parse(OWLOntologyInputSource inputSource, OWLOntology ontology) throws OWLOntologyCreationException {
try {
OWLOntologyFormat format = new OWLFunctionalSyntaxOntologyFormat();
OWLFunctionalSyntaxParser parser;
if(inputSource.isReaderAvailable()) {
parser = new OWLFunctionalSyntaxParser(inputSource.getReader());
}
else if(inputSource.isInputStreamAvailable()) {