📄 ioexchange.html
字号:
<!-- ========= CONSTRUCTOR DETAIL ======== --><!-- ============ METHOD DETAIL ========== --><A NAME="method_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Method Detail</B></FONT></TD></TR></TABLE><A NAME="getIOExchange()"><!-- --></A><H3>getIOExchange</H3><PRE>public static <A HREF="../../../../../../org/geotools/data/coverage/grid/stream/IOExchange.html" title="class in org.geotools.data.coverage.grid.stream">IOExchange</A> <B>getIOExchange</B>()</PRE><DL><DD>Factory method for creating a new IOExchange<P><DD><DL><DT><B>Returns:</B><DD>an instance of a IOExchange</DL></DD></DL><HR><A NAME="getReader(java.lang.Object)"><!-- --></A><H3>getReader</H3><PRE>public <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/Reader.html" title="class or interface in java.io">Reader</A> <B>getReader</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A> source) throws <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/IOException.html" title="class or interface in java.io">IOException</A></PRE><DL><DD>Uses the source object to create a Reader object for client<P><DD><DL><DT><B>Parameters:</B><DD><CODE>source</CODE> - An object that identifies an input Current Implementation accepts: Reader, URL, String, File, InputStream<DT><B>Returns:</B><DD>Returns a Reader that reads from the source identified by the source object<DT><B>Throws:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/IOException.html" title="class or interface in java.io">IOException</A></CODE> - If Source object cannot be identified or if an unexpected problem occurs.</DL></DD></DL><HR><A NAME="getGZIPReader(java.lang.Object)"><!-- --></A><H3>getGZIPReader</H3><PRE>public <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/Reader.html" title="class or interface in java.io">Reader</A> <B>getGZIPReader</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A> source) throws <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/IOException.html" title="class or interface in java.io">IOException</A></PRE><DL><DD>Returns a Reader that wraps a GZIPInputStream. WARNING. If source is a reader it assumes that the Reader is of the correct type. There is no way to be certain aside from trying to read the data.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>source</CODE> - An object that identifies an input Current Implementation. accepts: Reader, URL, String, File, InputStream Note: if source is a reader it MUST already wrap a GZIPInputStream.<DT><B>Returns:</B><DD>Reader that wraps a GZIPInputStream.<DT><B>Throws:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/IOException.html" title="class or interface in java.io">IOException</A></CODE> - if the destination cannot be converted to a Writer</DL></DD></DL><HR><A NAME="getWriter(java.lang.Object)"><!-- --></A><H3>getWriter</H3><PRE>public <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/Writer.html" title="class or interface in java.io">Writer</A> <B>getWriter</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A> destination) throws <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/IOException.html" title="class or interface in java.io">IOException</A></PRE><DL><DD>Takes a destination object and converts it to it's appropriate subclass of Writer. <p> Takes the destination object and casts it to one of: Writer (Returns Writer) OutputStream (Returns OutputStreamWriter) String (Returns OutputStreamWriter) URL (Returns OutputStreamWriter) File (Returns FileWriter) It then constructs a new Writer out of the destination and returns it. </p><P><DD><DL><DT><B>Parameters:</B><DD><CODE>destination</CODE> - the destination object to be converted<DT><B>Returns:</B><DD>a new Writer that can write to the destination<DT><B>Throws:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/IOException.html" title="class or interface in java.io">IOException</A></CODE> - if the destination cannot be converted to a Writer</DL></DD></DL><HR><A NAME="getPrintWriter(java.lang.Object)"><!-- --></A><H3>getPrintWriter</H3><PRE>public <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/PrintWriter.html" title="class or interface in java.io">PrintWriter</A> <B>getPrintWriter</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A> destination) throws <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/IOException.html" title="class or interface in java.io">IOException</A></PRE><DL><DD>Takes a destination object and creates a PrintWriter from it<P><DD><DL><DT><B>Parameters:</B><DD><CODE>destination</CODE> - the destination object to be converted<DT><B>Returns:</B><DD>a new PrintWriter that can write to the destination<DT><B>Throws:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/IOException.html" title="class or interface in java.io">IOException</A></CODE> - if the destination cannot be converted to a Writer</DL></DD></DL><HR><A NAME="getGZIPPrintWriter(java.lang.Object)"><!-- --></A><H3>getGZIPPrintWriter</H3><PRE>public <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/PrintWriter.html" title="class or interface in java.io">PrintWriter</A> <B>getGZIPPrintWriter</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A> destination) throws <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/IOException.html" title="class or interface in java.io">IOException</A></PRE><DL><DD>Returns a PrintWriter that wraps a GZIPOutputStream. WARNING. If source is a PrintWriter or a Writer it assumes that stream is of the correct type. There is no way to be certain aside from trying to write the data.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>destination</CODE> - An object that identifies an input Current Implementation. accepts: Writer, URL, String, File, OutputStream Note: if source is a Writer it MUST already wrap a GZIPOutputStream.<DT><B>Returns:</B><DD>Writer that wraps a GZIPOutputStream.<DT><B>Throws:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/IOException.html" title="class or interface in java.io">IOException</A></CODE> - if the destination cannot be converted to a Writer</DL></DD></DL><HR><A NAME="determineSourceFormat(java.lang.Object)"><!-- --></A><H3>determineSourceFormat</H3><PRE>public static int <B>determineSourceFormat</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A> arg0)</PRE><DL><DD>When implemented this method will determine the format of a source object<P><DD><DL><DT><B>Parameters:</B><DD><CODE>arg0</CODE> - The source object<DT><B>Returns:</B><DD>an integer indicating a particular format</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=3 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/IOExchange.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"> PREV CLASS <A HREF="../../../../../../org/geotools/data/coverage/grid/stream/StreamGridCoverageExchange.html" title="class in org.geotools.data.coverage.grid.stream"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../../../index.html" target="_top"><B>FRAMES</B></A> <A HREF="IOExchange.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: NESTED | 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>Copyright © 1996-2007 <a href="http://www.geotools.org">Geotools</a>. All Rights Reserved.</BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -