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

📄 textimagereader.html

📁 Geotools是一个开源的Java GIS工具包,可利用它来开发符合标准的地理信息系统。Geotools提供了OGC(Open Geospatial Consortium)规范的一个实现来作为他们的
💻 HTML
📖 第 1 页 / 共 4 页
字号:
 <CODE>LineReader</CODE> from <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/File.html" title="class or interface in java.io"><CODE>File</CODE></A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/net/URL.html" title="class or interface in java.net"><CODE>URL</CODE></A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/Reader.html" title="class or interface in java.io"><CODE>Reader</CODE></A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/InputStream.html" title="class or interface in java.io"><CODE>InputStream</CODE></A> and <A HREF="http://java.sun.com/j2se/1.4/docs/api/javax/imageio/stream/ImageInputStream.html" title="class or interface in javax.imageio.stream"><CODE>ImageInputStream</CODE></A> inputs. <p> This method creates a new <CODE>LineReader</CODE> only when first invoked. All subsequent calls wll returns the same <CODE>LineReader</CODE>. Concequently, this reader should never be closed by the caller. It will be closed by methods <A HREF="../../../../org/geotools/image/io/TextImageReader.html#setInput(java.lang.Object, boolean, boolean)"><CODE>setInput(...)</CODE></A> and <A HREF="../../../../org/geotools/image/io/TextImageReader.html#reset()"><CODE>reset()</CODE></A>.<P><DD><DL><DT><B>Returns:</B><DD><A HREF="http://java.sun.com/j2se/1.4/docs/api/javax/imageio/ImageReader.html#getInput()" title="class or interface in javax.imageio"><CODE>ImageReader.getInput()</CODE></A> as an <CODE>LineReader</CODE> if possible, or <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/BufferedReader.html" title="class or interface in java.io"><CODE>BufferedReader</CODE></A>         otherwise.<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 buffered reader can't be created.</DL></DD></DL><HR><A NAME="isComment(java.lang.String)"><!-- --></A><H3>isComment</H3><PRE>protected boolean <B>isComment</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>&nbsp;line)</PRE><DL><DD>Returns  if the specified line is a comment. This method is invoked automatically during a <A HREF="http://java.sun.com/j2se/1.4/docs/api/javax/imageio/ImageReader.html#read(int)" title="class or interface in javax.imageio"><CODE>read</CODE></A> operation. The default implementation returns  if the line is empty of if the first non-whitespace character is '', and  otherwise. Override this method if comment lines should be determined in a different way.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>line</CODE> - A line to be parsed.<DT><B>Returns:</B><DD> if the line is a comment and should be ignored, or  if it         should be parsed.<DT><B>Since:</B></DT>  <DD>2.3</DD></DL></DD></DL><HR><A NAME="setInput(java.lang.Object, boolean, boolean)"><!-- --></A><H3>setInput</H3><PRE>public void <B>setInput</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>&nbsp;input,                     boolean&nbsp;seekForwardOnly,                     boolean&nbsp;ignoreMetadata)</PRE><DL><DD>Sets the input source to use. If a reader were created by a previous call to <A HREF="../../../../org/geotools/image/io/TextImageReader.html#getReader()"><CODE>getReader()</CODE></A>, it will be closed before to change the input source.<P><DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../org/geotools/image/io/SimpleImageReader.html#setInput(java.lang.Object, boolean, boolean)">setInput</A></CODE> in class <CODE><A HREF="../../../../org/geotools/image/io/SimpleImageReader.html" title="class in org.geotools.image.io">SimpleImageReader</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>input</CODE> - The input object to use for future decoding.<DD><CODE>seekForwardOnly</CODE> - If , images and metadata may only be read                        in ascending order from this input source.<DD><CODE>ignoreMetadata</CODE> - If , metadata may be ignored during reads.</DL></DD></DL><HR><A NAME="getPositionString(java.lang.String)"><!-- --></A><H3>getPositionString</H3><PRE>protected <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <B>getPositionString</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>&nbsp;message)</PRE><DL><DD>Returns a string representation of the current stream position. For example this method may returns something like . This method returns  if the stream position is unknown.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>message</CODE> - An optional message to append to the stream position, or         if none.</DL></DD></DL><HR><A NAME="reset()"><!-- --></A><H3>reset</H3><PRE>public void <B>reset</B>()</PRE><DL><DD>Restores the  to its initial state. If a reader were created by a previous call to <A HREF="../../../../org/geotools/image/io/TextImageReader.html#getReader()"><CODE>getReader()</CODE></A>, it will be closed before to reset this reader.<P><DD><DL></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>&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/TextImageReader.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/geotools/image/io/SimpleImageReader.html" title="class in org.geotools.image.io"><B>PREV CLASS</B></A>&nbsp;&nbsp;<A HREF="../../../../org/geotools/image/io/TextImageReader.Spi.html" title="class in org.geotools.image.io"><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>  &nbsp;&nbsp;<A HREF="TextImageReader.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;<A HREF="#fields_inherited_from_class_ImageReader">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><A NAME="skip-navbar_bottom"></A><!-- ======== END OF BOTTOM NAVBAR ======= --><HR>Copyright &copy; 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 + -