⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 ontologyformathandler.html

📁 本体推理工具 共八个例子:从如何建立本体到做一些简单的的本体推理
💻 HTML
📖 第 1 页 / 共 2 页
字号:
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
<B>Method Detail</B></FONT></TH>
</TR>
</TABLE>

<A NAME="getFormatName()"><!-- --></A><H3>
getFormatName</H3>
<PRE>
java.lang.String <B>getFormatName</B>()</PRE>
<DL>
<DD>Returns the name of the format that this handler handles.
<P>
<DD><DL>

<DT><B>Returns:</B><DD>the name of the format</DL>
</DD>
</DL>
<HR>

<A NAME="getFileExtension()"><!-- --></A><H3>
getFileExtension</H3>
<PRE>
java.lang.String <B>getFileExtension</B>()</PRE>
<DL>
<DD>Returns the default extension for files of this format.
<P>
<DD><DL>

<DT><B>Returns:</B><DD>the default extension for files of this format</DL>
</DD>
</DL>
<HR>

<A NAME="exportOntology(org.semanticweb.kaon2.extensionapi.formats.OntologyFormatHandler.OperationInterrupt, java.io.Writer, java.lang.String, java.lang.String, org.semanticweb.kaon2.api.logic.Term, java.util.Set, java.util.Set, org.semanticweb.kaon2.extensionapi.formats.OntologyContents)"><!-- --></A><H3>
exportOntology</H3>
<PRE>
void <B>exportOntology</B>(<A HREF="../../../../../org/semanticweb/kaon2/extensionapi/formats/OntologyFormatHandler.OperationInterrupt.html" title="interface in org.semanticweb.kaon2.extensionapi.formats">OntologyFormatHandler.OperationInterrupt</A>&nbsp;operationInterrupt,
                    java.io.Writer&nbsp;writer,
                    java.lang.String&nbsp;encoding,
                    java.lang.String&nbsp;ontologyURI,
                    <A HREF="../../../../../org/semanticweb/kaon2/api/logic/Term.html" title="interface in org.semanticweb.kaon2.api.logic">Term</A>&nbsp;module,
                    java.util.Set&lt;<A HREF="../../../../../org/semanticweb/kaon2/api/owl/elements/Annotation.html" title="interface in org.semanticweb.kaon2.api.owl.elements">Annotation</A>&gt;&nbsp;annotations,
                    java.util.Set&lt;java.lang.String&gt;&nbsp;importedOntologyURIs,
                    <A HREF="../../../../../org/semanticweb/kaon2/extensionapi/formats/OntologyContents.html" title="interface in org.semanticweb.kaon2.extensionapi.formats">OntologyContents</A>&nbsp;ontologyContents)
                    throws <A HREF="../../../../../org/semanticweb/kaon2/api/KAON2Exception.html" title="class in org.semanticweb.kaon2.api">KAON2Exception</A>,
                           java.io.IOException,
                           java.lang.InterruptedException</PRE>
<DL>
<DD>Writes an ontology onto the given writer.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>operationInterrupt</CODE> - shows whether an operation should be interrupt<DD><CODE>writer</CODE> - the writer that receives the ontology<DD><CODE>encoding</CODE> - the encoding<DD><CODE>ontologyURI</CODE> - the URI of the ontology<DD><CODE>module</CODE> - the module of the ontology<DD><CODE>annotations</CODE> - the annotations of an ontology<DD><CODE>importedOntologyURIs</CODE> - the URIs of the imported ontology<DD><CODE>ontologyContents</CODE> - the object containing the ontology information
<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../../../org/semanticweb/kaon2/api/KAON2Exception.html" title="class in org.semanticweb.kaon2.api">KAON2Exception</A></CODE> - thrown if there is an error
<DD><CODE>java.io.IOException</CODE> - thrown if there is an error
<DD><CODE>java.lang.InterruptedException</CODE> - thrown if the process was interrupted</DL>
</DD>
</DL>
<HR>

<A NAME="parseOntology(org.semanticweb.kaon2.extensionapi.formats.OntologyFormatHandler.OperationInterrupt, java.io.Reader, java.lang.String, org.semanticweb.kaon2.api.OntologyResolver, org.semanticweb.kaon2.extensionapi.formats.ImportListener, org.semanticweb.kaon2.api.ProgressListener)"><!-- --></A><H3>
parseOntology</H3>
<PRE>
void <B>parseOntology</B>(<A HREF="../../../../../org/semanticweb/kaon2/extensionapi/formats/OntologyFormatHandler.OperationInterrupt.html" title="interface in org.semanticweb.kaon2.extensionapi.formats">OntologyFormatHandler.OperationInterrupt</A>&nbsp;operationInterrupt,
                   java.io.Reader&nbsp;reader,
                   java.lang.String&nbsp;physicalURI,
                   <A HREF="../../../../../org/semanticweb/kaon2/api/OntologyResolver.html" title="interface in org.semanticweb.kaon2.api">OntologyResolver</A>&nbsp;ontologyResolver,
                   <A HREF="../../../../../org/semanticweb/kaon2/extensionapi/formats/ImportListener.html" title="interface in org.semanticweb.kaon2.extensionapi.formats">ImportListener</A>&nbsp;importListener,
                   <A HREF="../../../../../org/semanticweb/kaon2/api/ProgressListener.html" title="interface in org.semanticweb.kaon2.api">ProgressListener</A>&nbsp;progressListener)
                   throws <A HREF="../../../../../org/semanticweb/kaon2/extensionapi/formats/InvalidFormatException.html" title="class in org.semanticweb.kaon2.extensionapi.formats">InvalidFormatException</A>,
                          <A HREF="../../../../../org/semanticweb/kaon2/api/KAON2Exception.html" title="class in org.semanticweb.kaon2.api">KAON2Exception</A>,
                          java.io.IOException,
                          java.lang.InterruptedException</PRE>
<DL>
<DD>Attempts to parse an ontology from the given source.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>operationInterrupt</CODE> - shows whether an operation should be interrupt<DD><CODE>reader</CODE> - the reader<DD><CODE>physicalURI</CODE> - the physical URI<DD><CODE>ontologyResolver</CODE> - the resolver for ontologies<DD><CODE>importListener</CODE> - the interface that receives information about the ontology as it is being parsed<DD><CODE>progressListener</CODE> - the listener about the progress of the open operation
<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../../../org/semanticweb/kaon2/extensionapi/formats/InvalidFormatException.html" title="class in org.semanticweb.kaon2.extensionapi.formats">InvalidFormatException</A></CODE> - thrown if the format of the source does not match with this format
<DD><CODE><A HREF="../../../../../org/semanticweb/kaon2/api/KAON2Exception.html" title="class in org.semanticweb.kaon2.api">KAON2Exception</A></CODE> - thrown if there is an error
<DD><CODE>java.io.IOException</CODE> - thrown if there is an error
<DD><CODE>java.lang.InterruptedException</CODE> - thrown if the process was interrupted</DL>
</DD>
</DL>
<HR>

<A NAME="parseOntology(org.semanticweb.kaon2.extensionapi.formats.OntologyFormatHandler.OperationInterrupt, java.io.InputStream, java.lang.String, org.semanticweb.kaon2.api.OntologyResolver, org.semanticweb.kaon2.extensionapi.formats.ImportListener, org.semanticweb.kaon2.api.ProgressListener)"><!-- --></A><H3>
parseOntology</H3>
<PRE>
void <B>parseOntology</B>(<A HREF="../../../../../org/semanticweb/kaon2/extensionapi/formats/OntologyFormatHandler.OperationInterrupt.html" title="interface in org.semanticweb.kaon2.extensionapi.formats">OntologyFormatHandler.OperationInterrupt</A>&nbsp;operationInterrupt,
                   java.io.InputStream&nbsp;inputStream,
                   java.lang.String&nbsp;physicalURI,
                   <A HREF="../../../../../org/semanticweb/kaon2/api/OntologyResolver.html" title="interface in org.semanticweb.kaon2.api">OntologyResolver</A>&nbsp;ontologyResolver,
                   <A HREF="../../../../../org/semanticweb/kaon2/extensionapi/formats/ImportListener.html" title="interface in org.semanticweb.kaon2.extensionapi.formats">ImportListener</A>&nbsp;importListener,
                   <A HREF="../../../../../org/semanticweb/kaon2/api/ProgressListener.html" title="interface in org.semanticweb.kaon2.api">ProgressListener</A>&nbsp;progressListener)
                   throws <A HREF="../../../../../org/semanticweb/kaon2/extensionapi/formats/InvalidFormatException.html" title="class in org.semanticweb.kaon2.extensionapi.formats">InvalidFormatException</A>,
                          <A HREF="../../../../../org/semanticweb/kaon2/api/KAON2Exception.html" title="class in org.semanticweb.kaon2.api">KAON2Exception</A>,
                          java.io.IOException,
                          java.lang.InterruptedException</PRE>
<DL>
<DD>Attempts to parse an ontology from the given source.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>operationInterrupt</CODE> - shows whether an operation should be interrupt<DD><CODE>inputStream</CODE> - the input stream<DD><CODE>physicalURI</CODE> - the physical URI<DD><CODE>ontologyResolver</CODE> - the resolver for ontologies<DD><CODE>importListener</CODE> - the interface that receives information about the ontology as it is being parsed<DD><CODE>progressListener</CODE> - the listener about the progress of the open operation
<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../../../org/semanticweb/kaon2/extensionapi/formats/InvalidFormatException.html" title="class in org.semanticweb.kaon2.extensionapi.formats">InvalidFormatException</A></CODE> - thrown if the format of the source does not match with this format
<DD><CODE><A HREF="../../../../../org/semanticweb/kaon2/api/KAON2Exception.html" title="class in org.semanticweb.kaon2.api">KAON2Exception</A></CODE> - thrown if there is an error
<DD><CODE>java.io.IOException</CODE> - thrown if there is an error
<DD><CODE>java.lang.InterruptedException</CODE> - thrown if the process was interrupted</DL>
</DD>
</DL>
<HR>

<A NAME="getOntologyInfo(java.io.Reader, java.lang.String)"><!-- --></A><H3>
getOntologyInfo</H3>
<PRE>
<A HREF="../../../../../org/semanticweb/kaon2/extensionapi/formats/OntologyInfo.html" title="class in org.semanticweb.kaon2.extensionapi.formats">OntologyInfo</A> <B>getOntologyInfo</B>(java.io.Reader&nbsp;reader,
                             java.lang.String&nbsp;physicalURI)
                             throws <A HREF="../../../../../org/semanticweb/kaon2/extensionapi/formats/InvalidFormatException.html" title="class in org.semanticweb.kaon2.extensionapi.formats">InvalidFormatException</A>,
                                    <A HREF="../../../../../org/semanticweb/kaon2/api/KAON2Exception.html" title="class in org.semanticweb.kaon2.api">KAON2Exception</A></PRE>
<DL>
<DD>Returns the OntologyInfo object for the ontology.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>reader</CODE> - the reader<DD><CODE>physicalURI</CODE> - the physical URI
<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../../../org/semanticweb/kaon2/extensionapi/formats/InvalidFormatException.html" title="class in org.semanticweb.kaon2.extensionapi.formats">InvalidFormatException</A></CODE> - thrown if the format of the source does not match with this format
<DD><CODE><A HREF="../../../../../org/semanticweb/kaon2/api/KAON2Exception.html" title="class in org.semanticweb.kaon2.api">KAON2Exception</A></CODE> - thrown if there is an error</DL>
</DD>
</DL>
<HR>

<A NAME="getOntologyInfo(java.io.InputStream, java.lang.String)"><!-- --></A><H3>
getOntologyInfo</H3>
<PRE>
<A HREF="../../../../../org/semanticweb/kaon2/extensionapi/formats/OntologyInfo.html" title="class in org.semanticweb.kaon2.extensionapi.formats">OntologyInfo</A> <B>getOntologyInfo</B>(java.io.InputStream&nbsp;inputStream,
                             java.lang.String&nbsp;physicalURI)
                             throws <A HREF="../../../../../org/semanticweb/kaon2/extensionapi/formats/InvalidFormatException.html" title="class in org.semanticweb.kaon2.extensionapi.formats">InvalidFormatException</A>,
                                    <A HREF="../../../../../org/semanticweb/kaon2/api/KAON2Exception.html" title="class in org.semanticweb.kaon2.api">KAON2Exception</A></PRE>
<DL>
<DD>Returns the OntologyInfo object for the ontology.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>inputStream</CODE> - the input stream<DD><CODE>physicalURI</CODE> - the physical URI
<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../../../org/semanticweb/kaon2/extensionapi/formats/InvalidFormatException.html" title="class in org.semanticweb.kaon2.extensionapi.formats">InvalidFormatException</A></CODE> - thrown if the format of the source does not match with this format
<DD><CODE><A HREF="../../../../../org/semanticweb/kaon2/api/KAON2Exception.html" title="class in org.semanticweb.kaon2.api">KAON2Exception</A></CODE> - thrown if there is an error</DL>
</DD>
</DL>
<!-- ========= END OF CLASS DATA ========= -->
<HR>


<!-- ======= START OF BOTTOM NAVBAR ====== -->
<A NAME="navbar_bottom"><!-- --></A>
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_bottom_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
  <TR ALIGN="center" VALIGN="top">
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/OntologyFormatHandler.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  </TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>

<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../../../../../org/semanticweb/kaon2/extensionapi/formats/OntologyContents.html" title="interface in org.semanticweb.kaon2.extensionapi.formats"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../../../org/semanticweb/kaon2/extensionapi/formats/OntologyFormatHandler.OperationInterrupt.html" title="interface in org.semanticweb.kaon2.extensionapi.formats"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  <A HREF="../../../../../index.html?org/semanticweb/kaon2/extensionapi/formats/OntologyFormatHandler.html" target="_top"><B>FRAMES</B></A>  &nbsp;
&nbsp;<A HREF="OntologyFormatHandler.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
&nbsp;<SCRIPT type="text/javascript">
  <!--
  if(window==top) {
    document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
  }
  //-->
</SCRIPT>
<NOSCRIPT>
  <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>
</NOSCRIPT>


</FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  SUMMARY:&nbsp;<A HREF="#nested_class_summary">NESTED</A>&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_bottom"></A>
<!-- ======== END OF BOTTOM NAVBAR ======= -->

<HR>

</BODY>
</HTML>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -