📄 insertimage.html
字号:
<PRE>public <B>InsertImage</B>(<A HREF="http://bleu.west.spy.net/~dustin/spyjar/j2/doc/net/spy/SpyConfig.html">SpyConfig</A> conf) throws <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/sql/SQLException.html">SQLException</A></PRE><DL><DD>Construct a DBSP which will get its connections from SpyDB using the given config.<P><DT><B>Parameters:</B><DD><CODE>conf</CODE> - the configuration to use<DT><B>Throws:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.3/docs/api/java/sql/SQLException.html">SQLException</A></CODE> - if there's a failure to construct</DL><HR><A NAME="InsertImage(java.sql.Connection)"><!-- --></A><H3>InsertImage</H3><PRE>public <B>InsertImage</B>(<A HREF="http://java.sun.com/j2se/1.3/docs/api/java/sql/Connection.html">Connection</A> conn) throws <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/sql/SQLException.html">SQLException</A></PRE><DL><DD>Construct a DBSP which use the existing Connection for database operations.<P><DT><B>Parameters:</B><DD><CODE>conn</CODE> - the connection to use<DT><B>Throws:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.3/docs/api/java/sql/SQLException.html">SQLException</A></CODE> - if there's a failure to construct</DL><!-- ============ METHOD DETAIL ========== --><A NAME="method_detail"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Method Detail</B></FONT></TD></TR></TABLE><A NAME="setImageId(int)"><!-- --></A><H3>setImageId</H3><PRE>public void <B>setImageId</B>(int to) throws <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/sql/SQLException.html">SQLException</A></PRE><DL><DD>Set the ``image_id'' parameter. New image ID<P><DD><DL><DT><B>Parameters:</B><DD><CODE>to</CODE> - the value to which to set the parameter<DD><CODE><A HREF="http://java.sun.com/j2se/1.3/docs/api/java/sql/SQLException.html">SQLException</A></CODE></DL></DD></DL><HR><A NAME="setImageId(java.lang.Integer)"><!-- --></A><H3>setImageId</H3><PRE>public void <B>setImageId</B>(<A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/Integer.html">Integer</A> to) throws <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/sql/SQLException.html">SQLException</A></PRE><DL><DD>Set the ``image_id'' parameter. New image ID<P><DD><DL><DT><B>Parameters:</B><DD><CODE>to</CODE> - the value to which to set the parameter<DD><CODE><A HREF="http://java.sun.com/j2se/1.3/docs/api/java/sql/SQLException.html">SQLException</A></CODE></DL></DD></DL><HR><A NAME="setImageId(short)"><!-- --></A><H3>setImageId</H3><PRE>public void <B>setImageId</B>(short to) throws <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/sql/SQLException.html">SQLException</A></PRE><DL><DD>Set the ``image_id'' parameter. New image ID<P><DD><DL><DT><B>Parameters:</B><DD><CODE>to</CODE> - the value to which to set the parameter<DD><CODE><A HREF="http://java.sun.com/j2se/1.3/docs/api/java/sql/SQLException.html">SQLException</A></CODE></DL></DD></DL><HR><A NAME="setImageId(java.lang.Short)"><!-- --></A><H3>setImageId</H3><PRE>public void <B>setImageId</B>(<A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/Short.html">Short</A> to) throws <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/sql/SQLException.html">SQLException</A></PRE><DL><DD>Set the ``image_id'' parameter. New image ID<P><DD><DL><DT><B>Parameters:</B><DD><CODE>to</CODE> - the value to which to set the parameter<DD><CODE><A HREF="http://java.sun.com/j2se/1.3/docs/api/java/sql/SQLException.html">SQLException</A></CODE></DL></DD></DL><HR><A NAME="setKeywords(java.lang.String)"><!-- --></A><H3>setKeywords</H3><PRE>public void <B>setKeywords</B>(<A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/String.html">String</A> to) throws <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/sql/SQLException.html">SQLException</A></PRE><DL><DD>Set the ``keywords'' parameter. Keywords for this image<P><DD><DL><DT><B>Parameters:</B><DD><CODE>to</CODE> - the value to which to set the parameter<DD><CODE><A HREF="http://java.sun.com/j2se/1.3/docs/api/java/sql/SQLException.html">SQLException</A></CODE></DL></DD></DL><HR><A NAME="setDescription(java.lang.String)"><!-- --></A><H3>setDescription</H3><PRE>public void <B>setDescription</B>(<A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/String.html">String</A> to) throws <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/sql/SQLException.html">SQLException</A></PRE><DL><DD>Set the ``description'' parameter. Description for this image entry<P><DD><DL><DT><B>Parameters:</B><DD><CODE>to</CODE> - the value to which to set the parameter<DD><CODE><A HREF="http://java.sun.com/j2se/1.3/docs/api/java/sql/SQLException.html">SQLException</A></CODE></DL></DD></DL><HR><A NAME="setCatId(int)"><!-- --></A><H3>setCatId</H3><PRE>public void <B>setCatId</B>(int to) throws <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/sql/SQLException.html">SQLException</A></PRE><DL><DD>Set the ``cat_id'' parameter. ID of the category to contain this image<P><DD><DL><DT><B>Parameters:</B><DD><CODE>to</CODE> - the value to which to set the parameter<DD><CODE><A HREF="http://java.sun.com/j2se/1.3/docs/api/java/sql/SQLException.html">SQLException</A></CODE></DL></DD></DL><HR><A NAME="setCatId(java.lang.Integer)"><!-- --></A><H3>setCatId</H3><PRE>public void <B>setCatId</B>(<A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/Integer.html">Integer</A> to) throws <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/sql/SQLException.html">SQLException</A></PRE><DL><DD>Set the ``cat_id'' parameter. ID of the category to contain this image<P><DD><DL><DT><B>Parameters:</B><DD><CODE>to</CODE> - the value to which to set the parameter<DD><CODE><A HREF="http://java.sun.com/j2se/1.3/docs/api/java/sql/SQLException.html">SQLException</A></CODE></DL></DD></DL><HR><A NAME="setCatId(short)"><!-- --></A><H3>setCatId</H3><PRE>public void <B>setCatId</B>(short to) throws <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/sql/SQLException.html">SQLException</A></PRE><DL><DD>Set the ``cat_id'' parameter. ID of the category to contain this image<P><DD><DL><DT><B>Parameters:</B><DD><CODE>to</CODE> - the value to which to set the parameter<DD><CODE><A HREF="http://java.sun.com/j2se/1.3/docs/api/java/sql/SQLException.html">SQLException</A></CODE></DL></DD></DL><HR><A NAME="setCatId(java.lang.Short)"><!-- --></A><H3>setCatId</H3><PRE>public void <B>setCatId</B>(<A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/Short.html">Short</A> to) throws <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/sql/SQLException.html">SQLException</A></PRE><DL><DD>Set the ``cat_id'' parameter. ID of the category to contain this image<P><DD><DL><DT><B>Parameters:</B><DD><CODE>to</CODE> - the value to which to set the parameter<DD><CODE><A HREF="http://java.sun.com/j2se/1.3/docs/api/java/sql/SQLException.html">SQLException</A></CODE></DL></DD></DL><HR><A NAME="setTaken(java.sql.Date)"><!-- --></A><H3>setTaken</H3><PRE>public void <B>setTaken</B>(<A HREF="http://java.sun.com/j2se/1.3/docs/api/java/sql/Date.html">Date</A> to) throws <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/sql/SQLException.html">SQLException</A></PRE><DL><DD>Set the ``taken'' parameter. Date this image was taken<P><DD><DL><DT><B>Parameters:</B><DD><CODE>to</CODE> - the value to which to set the parameter<DD><CODE><A HREF="http://java.sun.com/j2se/1.3/docs/api/java/sql/SQLException.html">SQLException</A></CODE></DL></DD></DL><HR><A NAME="setSize(int)"><!-- --></A><H3>setSize</H3><PRE>public void <B>setSize</B>(int to) throws <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/sql/SQLException.html">SQLException</A></PRE><DL><DD>Set the ``size'' parameter. Size of this image (in bytes)<P><DD><DL><DT><B>Parameters:</B><DD><CODE>to</CODE> - the value to which to set the parameter<DD><CODE><A HREF="http://java.sun.com/j2se/1.3/docs/api/java/sql/SQLException.html">SQLException</A></CODE></DL></DD></DL><HR><A NAME="setSize(java.lang.Integer)"><!-- --></A><H3>setSize</H3><PRE>public void <B>setSize</B>(<A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/Integer.html">Integer</A> to) throws <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/sql/SQLException.html">SQLException</A></PRE><DL><DD>Set the ``size'' parameter. Size of this image (in bytes)<P><DD><DL><DT><B>Parameters:</B><DD><CODE>to</CODE> - the value to which to set the parameter<DD><CODE><A HREF="http://java.sun.com/j2se/1.3/docs/api/java/sql/SQLException.html">SQLException</A></CODE></DL></DD></DL><HR><A NAME="setSize(short)"><!-- --></A><H3>setSize</H3><PRE>public void <B>setSize</B>(short to) throws <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/sql/SQLException.html">SQLException</A></PRE><DL><DD>Set the ``size'' parameter. Size of this image (in bytes)<P><DD><DL><DT><B>Parameters:</B><DD><CODE>to</CODE> - the value to which to set the parameter<DD><CODE><A HREF="http://java.sun.com/j2se/1.3/docs/api/java/sql/SQLException.html">SQLException</A></CODE></DL></DD></DL><HR><A NAME="setSize(java.lang.Short)"><!-- --></A><H3>setSize</H3><PRE>public void <B>setSize</B>(<A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/Short.html">Short</A> to) throws <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/sql/SQLException.html">SQLException</A></PRE><DL><DD>Set the ``size'' parameter. Size of this image (in bytes)<P><DD><DL><DT><B>Parameters:</B><DD><CODE>to</CODE> - the value to which to set the parameter<DD><CODE><A HREF="http://java.sun.com/j2se/1.3/docs/api/java/sql/SQLException.html">SQLException</A></CODE></DL></DD>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -