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

📄 mapmessage.html

📁 j2ee api,很好的api。我这现在有
💻 HTML
📖 第 1 页 / 共 5 页
字号:
                 throws <A HREF="../../javax/jms/JMSException.html" title="class in javax.jms">JMSException</A></PRE><DL><DD>Returns the value of the object with the specified name. <P>This method can be used to return, in objectified format, an object in the Java programming language ("Java object") that had  been stored in the Map with the equivalent <CODE>setObject</CODE> method call, or its equivalent primitive <CODE>set<I>type</I></CODE> method. <P>Note that byte values are returned as <CODE>byte[]</CODE>, not  <CODE>Byte[]</CODE>.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>name</CODE> - the name of the Java object<DT><B>Returns:</B><DD>a copy of the Java object value with the specified name, in  objectified format (for example, if the object was set as an  <CODE>int</CODE>, an <CODE>Integer</CODE> is returned); if there is no  item by this name, a null value is returned<DT><B>Throws:</B><DD><CODE><A HREF="../../javax/jms/JMSException.html" title="class in javax.jms">JMSException</A></CODE> - if the JMS provider fails to read the message                         due to some internal error.</DL></DD></DL><HR><A NAME="getMapNames()"><!-- --></A><H3>getMapNames</H3><PRE>public <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/Enumeration.html" title="class or interface in java.util">Enumeration</A> <B>getMapNames</B>()                        throws <A HREF="../../javax/jms/JMSException.html" title="class in javax.jms">JMSException</A></PRE><DL><DD>Returns an <CODE>Enumeration</CODE> of all the names in the  <CODE>MapMessage</CODE> object.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>an enumeration of all the names in this <CODE>MapMessage</CODE><DT><B>Throws:</B><DD><CODE><A HREF="../../javax/jms/JMSException.html" title="class in javax.jms">JMSException</A></CODE> - if the JMS provider fails to read the message                         due to some internal error.</DL></DD></DL><HR><A NAME="setBoolean(java.lang.String, boolean)"><!-- --></A><H3>setBoolean</H3><PRE>public void <B>setBoolean</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;name,                       boolean&nbsp;value)                throws <A HREF="../../javax/jms/JMSException.html" title="class in javax.jms">JMSException</A></PRE><DL><DD>Sets a <CODE>boolean</CODE> value with the specified name into the Map.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>name</CODE> - the name of the <CODE>boolean</CODE><DD><CODE>value</CODE> - the <CODE>boolean</CODE> value to set in the Map<DT><B>Throws:</B><DD><CODE><A HREF="../../javax/jms/JMSException.html" title="class in javax.jms">JMSException</A></CODE> - if the JMS provider fails to write the message                         due to some internal error.<DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/IllegalArgumentException.html" title="class or interface in java.lang">IllegalArgumentException</A></CODE> - if the name is null or if the name is                          an empty string.<DD><CODE><A HREF="../../javax/jms/MessageNotWriteableException.html" title="class in javax.jms">MessageNotWriteableException</A></CODE> - if the message is in read-only                                          mode.</DL></DD></DL><HR><A NAME="setByte(java.lang.String, byte)"><!-- --></A><H3>setByte</H3><PRE>public void <B>setByte</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;name,                    byte&nbsp;value)             throws <A HREF="../../javax/jms/JMSException.html" title="class in javax.jms">JMSException</A></PRE><DL><DD>Sets a <CODE>byte</CODE> value with the specified name into the Map.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>name</CODE> - the name of the <CODE>byte</CODE><DD><CODE>value</CODE> - the <CODE>byte</CODE> value to set in the Map<DT><B>Throws:</B><DD><CODE><A HREF="../../javax/jms/JMSException.html" title="class in javax.jms">JMSException</A></CODE> - if the JMS provider fails to write the message                         due to some internal error.<DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/IllegalArgumentException.html" title="class or interface in java.lang">IllegalArgumentException</A></CODE> - if the name is null or if the name is                          an empty string.<DD><CODE><A HREF="../../javax/jms/MessageNotWriteableException.html" title="class in javax.jms">MessageNotWriteableException</A></CODE> - if the message is in read-only                                          mode.</DL></DD></DL><HR><A NAME="setShort(java.lang.String, short)"><!-- --></A><H3>setShort</H3><PRE>public void <B>setShort</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;name,                     short&nbsp;value)              throws <A HREF="../../javax/jms/JMSException.html" title="class in javax.jms">JMSException</A></PRE><DL><DD>Sets a <CODE>short</CODE> value with the specified name into the Map.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>name</CODE> - the name of the <CODE>short</CODE><DD><CODE>value</CODE> - the <CODE>short</CODE> value to set in the Map<DT><B>Throws:</B><DD><CODE><A HREF="../../javax/jms/JMSException.html" title="class in javax.jms">JMSException</A></CODE> - if the JMS provider fails to write the message                         due to some internal error.<DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/IllegalArgumentException.html" title="class or interface in java.lang">IllegalArgumentException</A></CODE> - if the name is null or if the name is                          an empty string.<DD><CODE><A HREF="../../javax/jms/MessageNotWriteableException.html" title="class in javax.jms">MessageNotWriteableException</A></CODE> - if the message is in read-only                                          mode.</DL></DD></DL><HR><A NAME="setChar(java.lang.String, char)"><!-- --></A><H3>setChar</H3><PRE>public void <B>setChar</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;name,                    char&nbsp;value)             throws <A HREF="../../javax/jms/JMSException.html" title="class in javax.jms">JMSException</A></PRE><DL><DD>Sets a Unicode character value with the specified name into the Map.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>name</CODE> - the name of the Unicode character<DD><CODE>value</CODE> - the Unicode character value to set in the Map<DT><B>Throws:</B><DD><CODE><A HREF="../../javax/jms/JMSException.html" title="class in javax.jms">JMSException</A></CODE> - if the JMS provider fails to write the message                         due to some internal error.<DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/IllegalArgumentException.html" title="class or interface in java.lang">IllegalArgumentException</A></CODE> - if the name is null or if the name is                          an empty string.<DD><CODE><A HREF="../../javax/jms/MessageNotWriteableException.html" title="class in javax.jms">MessageNotWriteableException</A></CODE> - if the message is in read-only                                          mode.</DL></DD></DL><HR><A NAME="setInt(java.lang.String, int)"><!-- --></A><H3>setInt</H3><PRE>public void <B>setInt</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;name,                   int&nbsp;value)            throws <A HREF="../../javax/jms/JMSException.html" title="class in javax.jms">JMSException</A></PRE><DL><DD>Sets an <CODE>int</CODE> value with the specified name into the Map.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>name</CODE> - the name of the <CODE>int</CODE><DD><CODE>value</CODE> - the <CODE>int</CODE> value to set in the Map<DT><B>Throws:</B><DD><CODE><A HREF="../../javax/jms/JMSException.html" title="class in javax.jms">JMSException</A></CODE> - if the JMS provider fails to write the message                         due to some internal error.<DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/IllegalArgumentException.html" title="class or interface in java.lang">IllegalArgumentException</A></CODE> - if the name is null or if the name is                          an empty string.<DD><CODE><A HREF="../../javax/jms/MessageNotWriteableException.html" title="class in javax.jms">MessageNotWriteableException</A></CODE> - if the message is in read-only                                          mode.</DL></DD></DL><HR><A NAME="setLong(java.lang.String, long)"><!-- --></A><H3>setLong</H3><PRE>public void <B>setLong</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;name,                    long&nbsp;value)             throws <A HREF="../../javax/jms/JMSException.html" title="class in javax.jms">JMSException</A></PRE><DL><DD>Sets a <CODE>long</CODE> value with the specified name into the Map.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>name</CODE> - the name of the <CODE>long</CODE><DD><CODE>value</CODE> - the <CODE>long</CODE> value to set in the Map<DT><B>Throws:</B><DD><CODE><A HREF="../../javax/jms/JMSException.html" title="class in javax.jms">JMSException</A></CODE> - if the JMS provider fails to write the message                         due to some internal error.<DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/IllegalArgumentException.html" title="class or interface in java.lang">IllegalArgumentException</A></CODE> - if the name is null or if the name is                          an empty string.<DD><CODE><A HREF="../../javax/jms/MessageNotWriteableException.html" title="class in javax.jms">MessageNotWriteableException</A></CODE> - if the message is in read-only                                          mode.</DL></DD></DL><HR><A NAME="setFloat(java.lang.String, float)"><!-- --></A><H3>setFloat</H3><PRE>public void <B>setFloat</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;name,                     float&nbsp;value)              throws <A HREF="../../javax/jms/JMSException.html" title="class in javax.jms">JMSException</A></PRE><DL><DD>Sets a <CODE>float</CODE> value with the specified name into the Map.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>name</CODE> - the name of the <CODE>float</CODE><DD><CODE>value</CODE> - the <CODE>float</CODE> value to set in the Map<DT><B>Throws:</B><DD><CODE><A HREF="../../javax/jms/JMSException.html" title="class in javax.jms">JMSException</A></CODE> - if the JMS provider fails to write the message                         due to some internal error.<DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/IllegalArgumentException.html" title="class or interface in java.lang">IllegalArgumentException</A></CODE> - if the name is null or if the name is                          an empty string.<DD><CODE><A HREF="../../javax/jms/MessageNotWriteableException.html" title="class in javax.jms">MessageNotWriteableException</A></CODE> - if the message is in read-only                                          mode.</DL></DD></DL>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -