?? ontologyformathandler.html
字號:
<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> operationInterrupt,
java.io.Writer writer,
java.lang.String encoding,
java.lang.String ontologyURI,
<A HREF="../../../../../org/semanticweb/kaon2/api/logic/Term.html" title="interface in org.semanticweb.kaon2.api.logic">Term</A> module,
java.util.Set<<A HREF="../../../../../org/semanticweb/kaon2/api/owl/elements/Annotation.html" title="interface in org.semanticweb.kaon2.api.owl.elements">Annotation</A>> annotations,
java.util.Set<java.lang.String> importedOntologyURIs,
<A HREF="../../../../../org/semanticweb/kaon2/extensionapi/formats/OntologyContents.html" title="interface in org.semanticweb.kaon2.extensionapi.formats">OntologyContents</A> 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> operationInterrupt,
java.io.Reader reader,
java.lang.String physicalURI,
<A HREF="../../../../../org/semanticweb/kaon2/api/OntologyResolver.html" title="interface in org.semanticweb.kaon2.api">OntologyResolver</A> ontologyResolver,
<A HREF="../../../../../org/semanticweb/kaon2/extensionapi/formats/ImportListener.html" title="interface in org.semanticweb.kaon2.extensionapi.formats">ImportListener</A> importListener,
<A HREF="../../../../../org/semanticweb/kaon2/api/ProgressListener.html" title="interface in org.semanticweb.kaon2.api">ProgressListener</A> 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> operationInterrupt,
java.io.InputStream inputStream,
java.lang.String physicalURI,
<A HREF="../../../../../org/semanticweb/kaon2/api/OntologyResolver.html" title="interface in org.semanticweb.kaon2.api">OntologyResolver</A> ontologyResolver,
<A HREF="../../../../../org/semanticweb/kaon2/extensionapi/formats/ImportListener.html" title="interface in org.semanticweb.kaon2.extensionapi.formats">ImportListener</A> importListener,
<A HREF="../../../../../org/semanticweb/kaon2/api/ProgressListener.html" title="interface in org.semanticweb.kaon2.api">ProgressListener</A> 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 reader,
java.lang.String 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 inputStream,
java.lang.String 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> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/OntologyFormatHandler.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../../org/semanticweb/kaon2/extensionapi/formats/OntologyContents.html" title="interface in org.semanticweb.kaon2.extensionapi.formats"><B>PREV CLASS</B></A>
<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>
<A HREF="OntologyFormatHandler.html" target="_top"><B>NO FRAMES</B></A>
<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: <A HREF="#nested_class_summary">NESTED</A> | FIELD | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL: FIELD | CONSTR | <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 + -