source: sandbox/expresso-solr/solr/docs/api/org/apache/solr/internal/csv/CSVPrinter.html @ 7588

Revision 7588, 24.4 KB checked in by adir, 11 years ago (diff)

Ticket #000 - Adicionando a integracao de buscas com Solr na base a ser isnerida na comunidade

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_24) on Mon Jun 25 15:26:24 EDT 2012 -->
6<META http-equiv="Content-Type" content="text/html; charset=utf-8">
7<TITLE>
8CSVPrinter (Solr 4.0.0-ALPHA API)
9</TITLE>
10
11<META NAME="date" CONTENT="2012-06-25">
12
13<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../stylesheet.css" TITLE="Style">
14
15<SCRIPT type="text/javascript">
16function windowTitle()
17{
18    if (location.href.indexOf('is-external=true') == -1) {
19        parent.document.title="CSVPrinter (Solr 4.0.0-ALPHA API)";
20    }
21}
22</SCRIPT>
23<NOSCRIPT>
24</NOSCRIPT>
25
26</HEAD>
27
28<BODY BGCOLOR="white" onload="windowTitle();">
29<HR>
30
31
32<!-- ========= START OF TOP NAVBAR ======= -->
33<A NAME="navbar_top"><!-- --></A>
34<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
35<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
36<TR>
37<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
38<A NAME="navbar_top_firstrow"><!-- --></A>
39<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
40  <TR ALIGN="center" VALIGN="top">
41  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
42  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
43  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
44  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/CSVPrinter.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
45  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
46  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
47  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
48  </TR>
49</TABLE>
50</TD>
51<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
52</EM>
53</TD>
54</TR>
55
56<TR>
57<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
58&nbsp;<A HREF="../../../../../org/apache/solr/internal/csv/CSVParser.html" title="class in org.apache.solr.internal.csv"><B>PREV CLASS</B></A>&nbsp;
59&nbsp;<A HREF="../../../../../org/apache/solr/internal/csv/CSVStrategy.html" title="class in org.apache.solr.internal.csv"><B>NEXT CLASS</B></A></FONT></TD>
60<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
61  <A HREF="../../../../../index.html?org/apache/solr/internal/csv/CSVPrinter.html" target="_top"><B>FRAMES</B></A>  &nbsp;
62&nbsp;<A HREF="CSVPrinter.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
63&nbsp;<SCRIPT type="text/javascript">
64  <!--
65  if(window==top) {
66    document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
67  }
68  //-->
69</SCRIPT>
70<NOSCRIPT>
71  <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>
72</NOSCRIPT>
73
74
75</FONT></TD>
76</TR>
77<TR>
78<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
79  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
80<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
81DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
82</TR>
83</TABLE>
84<A NAME="skip-navbar_top"></A>
85<!-- ========= END OF TOP NAVBAR ========= -->
86
87<HR>
88<!-- ======== START OF CLASS DATA ======== -->
89<H2>
90<FONT SIZE="-1">
91org.apache.solr.internal.csv</FONT>
92<BR>
93Class CSVPrinter</H2>
94<PRE>
95<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</A>
96  <IMG SRC="../../../../../resources/inherit.gif" ALT="extended by "><B>org.apache.solr.internal.csv.CSVPrinter</B>
97</PRE>
98<HR>
99<DL>
100<DT><PRE>public class <B>CSVPrinter</B><DT>extends <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></DL>
101</PRE>
102
103<P>
104Print values as a comma separated list.
105<P>
106
107<P>
108<HR>
109
110<P>
111<!-- =========== FIELD SUMMARY =========== -->
112
113<A NAME="field_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>Field Summary</B></FONT></TH>
118</TR>
119<TR BGCOLOR="white" CLASS="TableRowColor">
120<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
121<CODE>protected &nbsp;char[]</CODE></FONT></TD>
122<TD><CODE><B><A HREF="../../../../../org/apache/solr/internal/csv/CSVPrinter.html#buf">buf</A></B></CODE>
123
124<BR>
125&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
126</TR>
127<TR BGCOLOR="white" CLASS="TableRowColor">
128<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
129<CODE>protected &nbsp;boolean</CODE></FONT></TD>
130<TD><CODE><B><A HREF="../../../../../org/apache/solr/internal/csv/CSVPrinter.html#newLine">newLine</A></B></CODE>
131
132<BR>
133&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;True if we just began a new line.</TD>
134</TR>
135<TR BGCOLOR="white" CLASS="TableRowColor">
136<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
137<CODE>protected &nbsp;<A HREF="http://download.oracle.com/javase/6/docs/api/java/io/Writer.html?is-external=true" title="class or interface in java.io">Writer</A></CODE></FONT></TD>
138<TD><CODE><B><A HREF="../../../../../org/apache/solr/internal/csv/CSVPrinter.html#out">out</A></B></CODE>
139
140<BR>
141&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The place that the values get written.</TD>
142</TR>
143<TR BGCOLOR="white" CLASS="TableRowColor">
144<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
145<CODE>protected &nbsp;<A HREF="../../../../../org/apache/solr/internal/csv/CSVStrategy.html" title="class in org.apache.solr.internal.csv">CSVStrategy</A></CODE></FONT></TD>
146<TD><CODE><B><A HREF="../../../../../org/apache/solr/internal/csv/CSVPrinter.html#strategy">strategy</A></B></CODE>
147
148<BR>
149&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
150</TR>
151</TABLE>
152&nbsp;
153<!-- ======== CONSTRUCTOR SUMMARY ======== -->
154
155<A NAME="constructor_summary"><!-- --></A>
156<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
157<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
158<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
159<B>Constructor Summary</B></FONT></TH>
160</TR>
161<TR BGCOLOR="white" CLASS="TableRowColor">
162<TD><CODE><B><A HREF="../../../../../org/apache/solr/internal/csv/CSVPrinter.html#CSVPrinter(java.io.Writer, org.apache.solr.internal.csv.CSVStrategy)">CSVPrinter</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/io/Writer.html?is-external=true" title="class or interface in java.io">Writer</A>&nbsp;out,
163           <A HREF="../../../../../org/apache/solr/internal/csv/CSVStrategy.html" title="class in org.apache.solr.internal.csv">CSVStrategy</A>&nbsp;strategy)</CODE>
164
165<BR>
166&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Create a printer that will print values to the given
167 stream following the CSVStrategy.</TD>
168</TR>
169</TABLE>
170&nbsp;
171<!-- ========== METHOD SUMMARY =========== -->
172
173<A NAME="method_summary"><!-- --></A>
174<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
175<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
176<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
177<B>Method Summary</B></FONT></TH>
178</TR>
179<TR BGCOLOR="white" CLASS="TableRowColor">
180<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
181<CODE>&nbsp;void</CODE></FONT></TD>
182<TD><CODE><B><A HREF="../../../../../org/apache/solr/internal/csv/CSVPrinter.html#flush()">flush</A></B>()</CODE>
183
184<BR>
185&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
186</TR>
187<TR BGCOLOR="white" CLASS="TableRowColor">
188<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
189<CODE>&nbsp;void</CODE></FONT></TD>
190<TD><CODE><B><A HREF="../../../../../org/apache/solr/internal/csv/CSVPrinter.html#print(char[], int, int, boolean)">print</A></B>(char[]&nbsp;value,
191      int&nbsp;offset,
192      int&nbsp;len,
193      boolean&nbsp;checkForEscape)</CODE>
194
195<BR>
196&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
197</TR>
198<TR BGCOLOR="white" CLASS="TableRowColor">
199<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
200<CODE>&nbsp;void</CODE></FONT></TD>
201<TD><CODE><B><A HREF="../../../../../org/apache/solr/internal/csv/CSVPrinter.html#print(java.lang.String)">print</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;value)</CODE>
202
203<BR>
204&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Print the string as the next value on the line.</TD>
205</TR>
206<TR BGCOLOR="white" CLASS="TableRowColor">
207<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
208<CODE>&nbsp;void</CODE></FONT></TD>
209<TD><CODE><B><A HREF="../../../../../org/apache/solr/internal/csv/CSVPrinter.html#print(java.lang.String, boolean)">print</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;value,
210      boolean&nbsp;checkForEscape)</CODE>
211
212<BR>
213&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Print the string as the next value on the line.</TD>
214</TR>
215<TR BGCOLOR="white" CLASS="TableRowColor">
216<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
217<CODE>&nbsp;void</CODE></FONT></TD>
218<TD><CODE><B><A HREF="../../../../../org/apache/solr/internal/csv/CSVPrinter.html#println()">println</A></B>()</CODE>
219
220<BR>
221&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Output a blank line</TD>
222</TR>
223<TR BGCOLOR="white" CLASS="TableRowColor">
224<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
225<CODE>&nbsp;void</CODE></FONT></TD>
226<TD><CODE><B><A HREF="../../../../../org/apache/solr/internal/csv/CSVPrinter.html#println(java.lang.String[])">println</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>[]&nbsp;values)</CODE>
227
228<BR>
229&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Print a single line of comma separated values.</TD>
230</TR>
231<TR BGCOLOR="white" CLASS="TableRowColor">
232<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
233<CODE>&nbsp;void</CODE></FONT></TD>
234<TD><CODE><B><A HREF="../../../../../org/apache/solr/internal/csv/CSVPrinter.html#printlnComment(java.lang.String)">printlnComment</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;comment)</CODE>
235
236<BR>
237&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Put a comment among the comma separated values.</TD>
238</TR>
239</TABLE>
240&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
241<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
242<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
243<TH ALIGN="left"><B>Methods inherited from class java.lang.<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></B></TH>
244</TR>
245<TR BGCOLOR="white" CLASS="TableRowColor">
246<TD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang">clone</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang">finalize</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang">toString</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long, int)" title="class or interface in java.lang">wait</A></CODE></TD>
247</TR>
248</TABLE>
249&nbsp;
250<P>
251
252<!-- ============ FIELD DETAIL =========== -->
253
254<A NAME="field_detail"><!-- --></A>
255<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
256<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
257<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
258<B>Field Detail</B></FONT></TH>
259</TR>
260</TABLE>
261
262<A NAME="out"><!-- --></A><H3>
263out</H3>
264<PRE>
265protected final <A HREF="http://download.oracle.com/javase/6/docs/api/java/io/Writer.html?is-external=true" title="class or interface in java.io">Writer</A> <B>out</B></PRE>
266<DL>
267<DD>The place that the values get written.
268<P>
269<DL>
270</DL>
271</DL>
272<HR>
273
274<A NAME="strategy"><!-- --></A><H3>
275strategy</H3>
276<PRE>
277protected final <A HREF="../../../../../org/apache/solr/internal/csv/CSVStrategy.html" title="class in org.apache.solr.internal.csv">CSVStrategy</A> <B>strategy</B></PRE>
278<DL>
279<DL>
280</DL>
281</DL>
282<HR>
283
284<A NAME="newLine"><!-- --></A><H3>
285newLine</H3>
286<PRE>
287protected boolean <B>newLine</B></PRE>
288<DL>
289<DD>True if we just began a new line.
290<P>
291<DL>
292</DL>
293</DL>
294<HR>
295
296<A NAME="buf"><!-- --></A><H3>
297buf</H3>
298<PRE>
299protected char[] <B>buf</B></PRE>
300<DL>
301<DL>
302</DL>
303</DL>
304
305<!-- ========= CONSTRUCTOR DETAIL ======== -->
306
307<A NAME="constructor_detail"><!-- --></A>
308<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
309<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
310<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
311<B>Constructor Detail</B></FONT></TH>
312</TR>
313</TABLE>
314
315<A NAME="CSVPrinter(java.io.Writer, org.apache.solr.internal.csv.CSVStrategy)"><!-- --></A><H3>
316CSVPrinter</H3>
317<PRE>
318public <B>CSVPrinter</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/io/Writer.html?is-external=true" title="class or interface in java.io">Writer</A>&nbsp;out,
319                  <A HREF="../../../../../org/apache/solr/internal/csv/CSVStrategy.html" title="class in org.apache.solr.internal.csv">CSVStrategy</A>&nbsp;strategy)</PRE>
320<DL>
321<DD>Create a printer that will print values to the given
322 stream following the CSVStrategy.
323
324 Currently, only a pure encapsulation strategy or a pure escaping strategy
325 is supported.  Hybrid strategies (encapsulation and escaping with a different character) are not supported.
326<P>
327<DL>
328<DT><B>Parameters:</B><DD><CODE>out</CODE> - stream to which to print.<DD><CODE>strategy</CODE> - describes the CSV variation.</DL>
329</DL>
330
331<!-- ============ METHOD DETAIL ========== -->
332
333<A NAME="method_detail"><!-- --></A>
334<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
335<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
336<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
337<B>Method Detail</B></FONT></TH>
338</TR>
339</TABLE>
340
341<A NAME="println()"><!-- --></A><H3>
342println</H3>
343<PRE>
344public void <B>println</B>()
345             throws <A HREF="http://download.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></PRE>
346<DL>
347<DD>Output a blank line
348<P>
349<DD><DL>
350
351<DT><B>Throws:</B>
352<DD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE></DL>
353</DD>
354</DL>
355<HR>
356
357<A NAME="flush()"><!-- --></A><H3>
358flush</H3>
359<PRE>
360public void <B>flush</B>()
361           throws <A HREF="http://download.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></PRE>
362<DL>
363<DD><DL>
364
365<DT><B>Throws:</B>
366<DD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE></DL>
367</DD>
368</DL>
369<HR>
370
371<A NAME="println(java.lang.String[])"><!-- --></A><H3>
372println</H3>
373<PRE>
374public void <B>println</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>[]&nbsp;values)
375             throws <A HREF="http://download.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></PRE>
376<DL>
377<DD>Print a single line of comma separated values.
378 The values will be quoted if needed.  Quotes and
379 newLine characters will be escaped.
380<P>
381<DD><DL>
382<DT><B>Parameters:</B><DD><CODE>values</CODE> - values to be outputted.
383<DT><B>Throws:</B>
384<DD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE></DL>
385</DD>
386</DL>
387<HR>
388
389<A NAME="printlnComment(java.lang.String)"><!-- --></A><H3>
390printlnComment</H3>
391<PRE>
392public void <B>printlnComment</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;comment)
393                    throws <A HREF="http://download.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></PRE>
394<DL>
395<DD>Put a comment among the comma separated values.
396 Comments will always begin on a new line and occupy a
397 least one full line. The character specified to star
398 comments and a space will be inserted at the beginning of
399 each new line in the comment.
400<P>
401<DD><DL>
402<DT><B>Parameters:</B><DD><CODE>comment</CODE> - the comment to output
403<DT><B>Throws:</B>
404<DD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE></DL>
405</DD>
406</DL>
407<HR>
408
409<A NAME="print(char[], int, int, boolean)"><!-- --></A><H3>
410print</H3>
411<PRE>
412public void <B>print</B>(char[]&nbsp;value,
413                  int&nbsp;offset,
414                  int&nbsp;len,
415                  boolean&nbsp;checkForEscape)
416           throws <A HREF="http://download.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></PRE>
417<DL>
418<DD><DL>
419
420<DT><B>Throws:</B>
421<DD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE></DL>
422</DD>
423</DL>
424<HR>
425
426<A NAME="print(java.lang.String, boolean)"><!-- --></A><H3>
427print</H3>
428<PRE>
429public void <B>print</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;value,
430                  boolean&nbsp;checkForEscape)
431           throws <A HREF="http://download.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></PRE>
432<DL>
433<DD>Print the string as the next value on the line. The value
434 will be escaped or encapsulated as needed if checkForEscape==true
435<P>
436<DD><DL>
437<DT><B>Parameters:</B><DD><CODE>value</CODE> - value to be outputted.
438<DT><B>Throws:</B>
439<DD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE></DL>
440</DD>
441</DL>
442<HR>
443
444<A NAME="print(java.lang.String)"><!-- --></A><H3>
445print</H3>
446<PRE>
447public void <B>print</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;value)
448           throws <A HREF="http://download.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></PRE>
449<DL>
450<DD>Print the string as the next value on the line. The value
451 will be escaped or encapsulated as needed.
452<P>
453<DD><DL>
454<DT><B>Parameters:</B><DD><CODE>value</CODE> - value to be outputted.
455<DT><B>Throws:</B>
456<DD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE></DL>
457</DD>
458</DL>
459<!-- ========= END OF CLASS DATA ========= -->
460<HR>
461
462
463<!-- ======= START OF BOTTOM NAVBAR ====== -->
464<A NAME="navbar_bottom"><!-- --></A>
465<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
466<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
467<TR>
468<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
469<A NAME="navbar_bottom_firstrow"><!-- --></A>
470<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
471  <TR ALIGN="center" VALIGN="top">
472  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
473  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
474  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
475  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/CSVPrinter.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
476  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
477  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
478  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
479  </TR>
480</TABLE>
481</TD>
482<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
483</EM>
484</TD>
485</TR>
486
487<TR>
488<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
489&nbsp;<A HREF="../../../../../org/apache/solr/internal/csv/CSVParser.html" title="class in org.apache.solr.internal.csv"><B>PREV CLASS</B></A>&nbsp;
490&nbsp;<A HREF="../../../../../org/apache/solr/internal/csv/CSVStrategy.html" title="class in org.apache.solr.internal.csv"><B>NEXT CLASS</B></A></FONT></TD>
491<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
492  <A HREF="../../../../../index.html?org/apache/solr/internal/csv/CSVPrinter.html" target="_top"><B>FRAMES</B></A>  &nbsp;
493&nbsp;<A HREF="CSVPrinter.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
494&nbsp;<SCRIPT type="text/javascript">
495  <!--
496  if(window==top) {
497    document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
498  }
499  //-->
500</SCRIPT>
501<NOSCRIPT>
502  <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>
503</NOSCRIPT>
504
505
506</FONT></TD>
507</TR>
508<TR>
509<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
510  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
511<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
512DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
513</TR>
514</TABLE>
515<A NAME="skip-navbar_bottom"></A>
516<!-- ======== END OF BOTTOM NAVBAR ======= -->
517
518<HR>
519
520          <address>Copyright &copy; 2000-2012 Apache Software Foundation.  All Rights Reserved.</address>
521          <script src='../../../../../prettify.js' type='text/javascript'></script>
522          <script type='text/javascript'>
523            (function(){
524              var oldonload = window.onload;
525              if (typeof oldonload != 'function') {
526                window.onload = prettyPrint;
527              } else {
528                window.onload = function() {
529                  oldonload();
530                  prettyPrint();
531                }
532              }
533            })();
534          </script>
535       
536</BODY>
537</HTML>
Note: See TracBrowser for help on using the repository browser.