📄 rawbinaryimagereadparam.html
字号:
setStreamDataType</H3><PRE>public void <B>setStreamDataType</B>(int dataType)</PRE><DL><DD><B>Deprecated.</B> <DD>Specify the data type in input stream. Setting data type to <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/image/DataBuffer.html#TYPE_UNDEFINED" title="class or interface in java.awt.image"><CODE>DataBuffer.TYPE_UNDEFINED</CODE></A> reset the default value, which is reader dependent.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>dataType</CODE> - The data type, or <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/image/DataBuffer.html#TYPE_UNDEFINED" title="class or interface in java.awt.image"><CODE>DataBuffer.TYPE_UNDEFINED</CODE></A> if unknow. Know data type should be a constant from <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/image/DataBuffer.html" title="class or interface in java.awt.image"><CODE>DataBuffer</CODE></A>. Common types are <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/image/DataBuffer.html#TYPE_INT" title="class or interface in java.awt.image"><CODE>DataBuffer.TYPE_INT</CODE></A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/image/DataBuffer.html#TYPE_FLOAT" title="class or interface in java.awt.image"><CODE>DataBuffer.TYPE_FLOAT</CODE></A> and <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/image/DataBuffer.html#TYPE_DOUBLE" title="class or interface in java.awt.image"><CODE>DataBuffer.TYPE_DOUBLE</CODE></A>.</DL></DD></DL><HR><A NAME="getStreamDataType()"><!-- --></A><H3>getStreamDataType</H3><PRE>public int <B>getStreamDataType</B>()</PRE><DL><DD><B>Deprecated.</B> <DD>Returns the data type in input stream, or <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/image/DataBuffer.html#TYPE_UNDEFINED" title="class or interface in java.awt.image"><CODE>DataBuffer.TYPE_UNDEFINED</CODE></A> if unknow. Data type is specified by the last call to <A HREF="../../../../org/geotools/image/io/RawBinaryImageReadParam.html#setStreamDataType(int)"><CODE>setStreamDataType(int)</CODE></A> or <A HREF="../../../../org/geotools/image/io/RawBinaryImageReadParam.html#setStreamSampleModel(java.awt.image.SampleModel)"><CODE>setStreamSampleModel(java.awt.image.SampleModel)</CODE></A>.<P><DD><DL></DL></DD></DL><HR><A NAME="setDestinationType(int)"><!-- --></A><H3>setDestinationType</H3><PRE>public void <B>setDestinationType</B>(int destType)</PRE><DL><DD><B>Deprecated.</B> <DD>Sets the desired image type for the destination image, using one of <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/image/DataBuffer.html" title="class or interface in java.awt.image"><CODE>DataBuffer</CODE></A> enumeration constant. This setting will override any previous setting made with <A HREF="http://java.sun.com/j2se/1.4/docs/api/javax/imageio/ImageReadParam.html#setDestinationType(javax.imageio.ImageTypeSpecifier)" title="class or interface in javax.imageio"><CODE>ImageReadParam.setDestinationType(ImageTypeSpecifier)</CODE></A> or this <code>setDestinationType(int)</code> method.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>destType</CODE> - The data type. This should be a constant from <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/image/DataBuffer.html" title="class or interface in java.awt.image"><CODE>DataBuffer</CODE></A>. Common types are <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/image/DataBuffer.html#TYPE_INT" title="class or interface in java.awt.image"><CODE>DataBuffer.TYPE_INT</CODE></A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/image/DataBuffer.html#TYPE_FLOAT" title="class or interface in java.awt.image"><CODE>DataBuffer.TYPE_FLOAT</CODE></A> and <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/image/DataBuffer.html#TYPE_DOUBLE" title="class or interface in java.awt.image"><CODE>DataBuffer.TYPE_DOUBLE</CODE></A>.</DL></DD></DL><HR><A NAME="setPadValue(double)"><!-- --></A><H3>setPadValue</H3><PRE>public void <B>setPadValue</B>(double padValue)</PRE><DL><DD><B>Deprecated.</B> <DD>Set the pad value.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>padValue</CODE> - The pad value, or <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Double.html#NaN" title="class or interface in java.lang"><CODE>Double.NaN</CODE></A> if there is none.</DL></DD></DL><HR><A NAME="getPadValue()"><!-- --></A><H3>getPadValue</H3><PRE>public double <B>getPadValue</B>()</PRE><DL><DD><B>Deprecated.</B> <DD>Returns the pad value, or <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Double.html#NaN" title="class or interface in java.lang"><CODE>Double.NaN</CODE></A> if there is none<P><DD><DL></DL></DD></DL><HR><A NAME="setStreamSampleModel(java.awt.image.SampleModel)"><!-- --></A><H3>setStreamSampleModel</H3><PRE>public void <B>setStreamSampleModel</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/image/SampleModel.html" title="class or interface in java.awt.image">SampleModel</A> model)</PRE><DL><DD><B>Deprecated.</B> <DD>Set a sample model indicating the data layout in the input stream. Indications comprise image size and data type, i.e. calling this method with a non-null value is equivalent to calling also the following methods: <blockquote><pre> setStreamImageSize(model.getWidth(), model.getHeight()); setStreamDataType(model.getDataType()); </pre></blockquote> Setting the sample model to <code>null</code> reset the default model, which is reader dependent.<P><DD><DL></DL></DD></DL><HR><A NAME="getStreamSampleModel()"><!-- --></A><H3>getStreamSampleModel</H3><PRE>public <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/image/SampleModel.html" title="class or interface in java.awt.image">SampleModel</A> <B>getStreamSampleModel</B>()</PRE><DL><DD><B>Deprecated.</B> <DD>Returns a sample model indicating the data layout in the input stream. The <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/image/SampleModel.html" title="class or interface in java.awt.image"><CODE>SampleModel</CODE></A>'s width and height should matches the image size in the input stream.<P><DD><DL><DT><B>Returns:</B><DD>A sample model indicating the data layout in the input stream, or <code>null</code> if unknow.</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/RawBinaryImageReadParam.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/geotools/image/io/RawBinaryImageReader.Spi.html" title="class in org.geotools.image.io"><B>PREV CLASS</B></A> <A HREF="../../../../org/geotools/image/io/SimpleImageReader.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> <A HREF="RawBinaryImageReadParam.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 | <A HREF="#fields_inherited_from_class_ImageReadParam">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <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 + -