source: branches/objectmq-1.0/lib/rabbitmq-java-client-javadoc-3.0.1/com/rabbitmq/client/impl/LongStringHelper.html

Last change on this file was 33, checked in by amoreno, 11 years ago

new release version

File size: 10.9 KB
Line 
1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2<!--NewPage-->
3<HTML>
4<HEAD>
5<!-- Generated by javadoc (build 1.6.0_18) on Tue Dec 11 11:47:11 GMT 2012 -->
6<TITLE>
7LongStringHelper
8</TITLE>
9
10<META NAME="date" CONTENT="2012-12-11">
11
12<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">
13
14<SCRIPT type="text/javascript">
15function windowTitle()
16{
17    if (location.href.indexOf('is-external=true') == -1) {
18        parent.document.title="LongStringHelper";
19    }
20}
21</SCRIPT>
22<NOSCRIPT>
23</NOSCRIPT>
24
25</HEAD>
26
27<BODY BGCOLOR="white" onload="windowTitle();">
28<HR>
29
30
31<!-- ========= START OF TOP NAVBAR ======= -->
32<A NAME="navbar_top"><!-- --></A>
33<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
34<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
35<TR>
36<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
37<A NAME="navbar_top_firstrow"><!-- --></A>
38<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
39  <TR ALIGN="center" VALIGN="top">
40  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
41  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
42  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
43  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
44  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
45  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
46  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
47  </TR>
48</TABLE>
49</TD>
50<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
51</EM>
52</TD>
53</TR>
54
55<TR>
56<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
57&nbsp;<A HREF="../../../../com/rabbitmq/client/impl/FrameHandler.html" title="interface in com.rabbitmq.client.impl"><B>PREV CLASS</B></A>&nbsp;
58&nbsp;<A HREF="../../../../com/rabbitmq/client/impl/Method.html" title="class in com.rabbitmq.client.impl"><B>NEXT CLASS</B></A></FONT></TD>
59<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
60  <A HREF="../../../../index.html?com/rabbitmq/client/impl/LongStringHelper.html" target="_top"><B>FRAMES</B></A>  &nbsp;
61&nbsp;<A HREF="LongStringHelper.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
62&nbsp;<SCRIPT type="text/javascript">
63  <!--
64  if(window==top) {
65    document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
66  }
67  //-->
68</SCRIPT>
69<NOSCRIPT>
70  <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
71</NOSCRIPT>
72
73
74</FONT></TD>
75</TR>
76<TR>
77<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
78  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
79<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
80DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
81</TR>
82</TABLE>
83<A NAME="skip-navbar_top"></A>
84<!-- ========= END OF TOP NAVBAR ========= -->
85
86<HR>
87<!-- ======== START OF CLASS DATA ======== -->
88<H2>
89<FONT SIZE="-1">
90com.rabbitmq.client.impl</FONT>
91<BR>
92Class LongStringHelper</H2>
93<PRE>
94java.lang.Object
95  <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><B>com.rabbitmq.client.impl.LongStringHelper</B>
96</PRE>
97<HR>
98<DL>
99<DT><PRE>public class <B>LongStringHelper</B><DT>extends java.lang.Object</DL>
100</PRE>
101
102<P>
103Utility for working with <A HREF="../../../../com/rabbitmq/client/LongString.html" title="interface in com.rabbitmq.client"><CODE>LongString</CODE></A>s.
104<P>
105
106<P>
107<HR>
108
109<P>
110
111<!-- ======== CONSTRUCTOR SUMMARY ======== -->
112
113<A NAME="constructor_summary"><!-- --></A>
114<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
115<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
116<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
117<B>Constructor Summary</B></FONT></TH>
118</TR>
119<TR BGCOLOR="white" CLASS="TableRowColor">
120<TD><CODE><B><A HREF="../../../../com/rabbitmq/client/impl/LongStringHelper.html#LongStringHelper()">LongStringHelper</A></B>()</CODE>
121
122<BR>
123&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
124</TR>
125</TABLE>
126&nbsp;
127<!-- ========== METHOD SUMMARY =========== -->
128
129<A NAME="method_summary"><!-- --></A>
130<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
131<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
132<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
133<B>Method Summary</B></FONT></TH>
134</TR>
135<TR BGCOLOR="white" CLASS="TableRowColor">
136<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
137<CODE>static&nbsp;<A HREF="../../../../com/rabbitmq/client/LongString.html" title="interface in com.rabbitmq.client">LongString</A></CODE></FONT></TD>
138<TD><CODE><B><A HREF="../../../../com/rabbitmq/client/impl/LongStringHelper.html#asLongString(byte[])">asLongString</A></B>(byte[]&nbsp;bytes)</CODE>
139
140<BR>
141&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Converts a binary block to a LongString.</TD>
142</TR>
143<TR BGCOLOR="white" CLASS="TableRowColor">
144<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
145<CODE>static&nbsp;<A HREF="../../../../com/rabbitmq/client/LongString.html" title="interface in com.rabbitmq.client">LongString</A></CODE></FONT></TD>
146<TD><CODE><B><A HREF="../../../../com/rabbitmq/client/impl/LongStringHelper.html#asLongString(java.lang.String)">asLongString</A></B>(java.lang.String&nbsp;string)</CODE>
147
148<BR>
149&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Converts a String to a LongString using UTF-8 encoding.</TD>
150</TR>
151</TABLE>
152&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
153<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
154<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
155<TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
156</TR>
157<TR BGCOLOR="white" CLASS="TableRowColor">
158<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
159</TR>
160</TABLE>
161&nbsp;
162<P>
163
164<!-- ========= CONSTRUCTOR DETAIL ======== -->
165
166<A NAME="constructor_detail"><!-- --></A>
167<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
168<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
169<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
170<B>Constructor Detail</B></FONT></TH>
171</TR>
172</TABLE>
173
174<A NAME="LongStringHelper()"><!-- --></A><H3>
175LongStringHelper</H3>
176<PRE>
177public <B>LongStringHelper</B>()</PRE>
178<DL>
179</DL>
180
181<!-- ============ METHOD DETAIL ========== -->
182
183<A NAME="method_detail"><!-- --></A>
184<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
185<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
186<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
187<B>Method Detail</B></FONT></TH>
188</TR>
189</TABLE>
190
191<A NAME="asLongString(java.lang.String)"><!-- --></A><H3>
192asLongString</H3>
193<PRE>
194public static <A HREF="../../../../com/rabbitmq/client/LongString.html" title="interface in com.rabbitmq.client">LongString</A> <B>asLongString</B>(java.lang.String&nbsp;string)</PRE>
195<DL>
196<DD>Converts a String to a LongString using UTF-8 encoding.
197<P>
198<DD><DL>
199<DT><B>Parameters:</B><DD><CODE>string</CODE> - the string to wrap
200<DT><B>Returns:</B><DD>a LongString wrapping it</DL>
201</DD>
202</DL>
203<HR>
204
205<A NAME="asLongString(byte[])"><!-- --></A><H3>
206asLongString</H3>
207<PRE>
208public static <A HREF="../../../../com/rabbitmq/client/LongString.html" title="interface in com.rabbitmq.client">LongString</A> <B>asLongString</B>(byte[]&nbsp;bytes)</PRE>
209<DL>
210<DD>Converts a binary block to a LongString.
211<P>
212<DD><DL>
213<DT><B>Parameters:</B><DD><CODE>bytes</CODE> - the data to wrap
214<DT><B>Returns:</B><DD>a LongString wrapping it</DL>
215</DD>
216</DL>
217<!-- ========= END OF CLASS DATA ========= -->
218<HR>
219
220
221<!-- ======= START OF BOTTOM NAVBAR ====== -->
222<A NAME="navbar_bottom"><!-- --></A>
223<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
224<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
225<TR>
226<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
227<A NAME="navbar_bottom_firstrow"><!-- --></A>
228<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
229  <TR ALIGN="center" VALIGN="top">
230  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
231  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
232  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
233  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
234  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
235  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
236  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
237  </TR>
238</TABLE>
239</TD>
240<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
241</EM>
242</TD>
243</TR>
244
245<TR>
246<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
247&nbsp;<A HREF="../../../../com/rabbitmq/client/impl/FrameHandler.html" title="interface in com.rabbitmq.client.impl"><B>PREV CLASS</B></A>&nbsp;
248&nbsp;<A HREF="../../../../com/rabbitmq/client/impl/Method.html" title="class in com.rabbitmq.client.impl"><B>NEXT CLASS</B></A></FONT></TD>
249<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
250  <A HREF="../../../../index.html?com/rabbitmq/client/impl/LongStringHelper.html" target="_top"><B>FRAMES</B></A>  &nbsp;
251&nbsp;<A HREF="LongStringHelper.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
252&nbsp;<SCRIPT type="text/javascript">
253  <!--
254  if(window==top) {
255    document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
256  }
257  //-->
258</SCRIPT>
259<NOSCRIPT>
260  <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
261</NOSCRIPT>
262
263
264</FONT></TD>
265</TR>
266<TR>
267<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
268  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
269<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
270DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
271</TR>
272</TABLE>
273<A NAME="skip-navbar_bottom"></A>
274<!-- ======== END OF BOTTOM NAVBAR ======= -->
275
276<HR>
277
278</BODY>
279</HTML>
Note: See TracBrowser for help on using the repository browser.