source: sandbox/expresso-solr/solr/docs/api/org/apache/solr/common/util/ContentStreamBase.FileStream.html @ 7588

Revision 7588, 23.0 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:26 EDT 2012 -->
6<META http-equiv="Content-Type" content="text/html; charset=utf-8">
7<TITLE>
8ContentStreamBase.FileStream (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="ContentStreamBase.FileStream (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/ContentStreamBase.FileStream.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/common/util/ContentStreamBase.html" title="class in org.apache.solr.common.util"><B>PREV CLASS</B></A>&nbsp;
59&nbsp;<A HREF="../../../../../org/apache/solr/common/util/ContentStreamBase.StringStream.html" title="class in org.apache.solr.common.util"><B>NEXT CLASS</B></A></FONT></TD>
60<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
61  <A HREF="../../../../../index.html?org/apache/solr/common/util/ContentStreamBase.FileStream.html" target="_top"><B>FRAMES</B></A>  &nbsp;
62&nbsp;<A HREF="ContentStreamBase.FileStream.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;<A HREF="#nested_classes_inherited_from_class_org.apache.solr.common.util.ContentStreamBase">NESTED</A>&nbsp;|&nbsp;<A HREF="#fields_inherited_from_class_org.apache.solr.common.util.ContentStreamBase">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;FIELD&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.common.util</FONT>
92<BR>
93Class ContentStreamBase.FileStream</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 "><A HREF="../../../../../org/apache/solr/common/util/ContentStreamBase.html" title="class in org.apache.solr.common.util">org.apache.solr.common.util.ContentStreamBase</A>
97      <IMG SRC="../../../../../resources/inherit.gif" ALT="extended by "><B>org.apache.solr.common.util.ContentStreamBase.FileStream</B>
98</PRE>
99<DL>
100<DT><B>All Implemented Interfaces:</B> <DD><A HREF="../../../../../org/apache/solr/common/util/ContentStream.html" title="interface in org.apache.solr.common.util">ContentStream</A></DD>
101</DL>
102<DL>
103<DT><B>Enclosing class:</B><DD><A HREF="../../../../../org/apache/solr/common/util/ContentStreamBase.html" title="class in org.apache.solr.common.util">ContentStreamBase</A></DD>
104</DL>
105<HR>
106<DL>
107<DT><PRE>public static class <B>ContentStreamBase.FileStream</B><DT>extends <A HREF="../../../../../org/apache/solr/common/util/ContentStreamBase.html" title="class in org.apache.solr.common.util">ContentStreamBase</A></DL>
108</PRE>
109
110<P>
111Construct a <code>ContentStream</code> from a <code>File</code>
112<P>
113
114<P>
115<HR>
116
117<P>
118<!-- ======== NESTED CLASS SUMMARY ======== -->
119
120<A NAME="nested_class_summary"><!-- --></A>
121<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
122<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
123<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
124<B>Nested Class Summary</B></FONT></TH>
125</TR>
126</TABLE>
127&nbsp;<A NAME="nested_classes_inherited_from_class_org.apache.solr.common.util.ContentStreamBase"><!-- --></A>
128<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
129<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
130<TH ALIGN="left"><B>Nested classes/interfaces inherited from class org.apache.solr.common.util.<A HREF="../../../../../org/apache/solr/common/util/ContentStreamBase.html" title="class in org.apache.solr.common.util">ContentStreamBase</A></B></TH>
131</TR>
132<TR BGCOLOR="white" CLASS="TableRowColor">
133<TD><CODE><A HREF="../../../../../org/apache/solr/common/util/ContentStreamBase.FileStream.html" title="class in org.apache.solr.common.util">ContentStreamBase.FileStream</A>, <A HREF="../../../../../org/apache/solr/common/util/ContentStreamBase.StringStream.html" title="class in org.apache.solr.common.util">ContentStreamBase.StringStream</A>, <A HREF="../../../../../org/apache/solr/common/util/ContentStreamBase.URLStream.html" title="class in org.apache.solr.common.util">ContentStreamBase.URLStream</A></CODE></TD>
134</TR>
135</TABLE>
136&nbsp;
137<!-- =========== FIELD SUMMARY =========== -->
138
139<A NAME="field_summary"><!-- --></A>
140<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
141<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
142<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
143<B>Field Summary</B></FONT></TH>
144</TR>
145</TABLE>
146&nbsp;<A NAME="fields_inherited_from_class_org.apache.solr.common.util.ContentStreamBase"><!-- --></A>
147<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
148<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
149<TH ALIGN="left"><B>Fields inherited from class org.apache.solr.common.util.<A HREF="../../../../../org/apache/solr/common/util/ContentStreamBase.html" title="class in org.apache.solr.common.util">ContentStreamBase</A></B></TH>
150</TR>
151<TR BGCOLOR="white" CLASS="TableRowColor">
152<TD><CODE><A HREF="../../../../../org/apache/solr/common/util/ContentStreamBase.html#contentType">contentType</A>, <A HREF="../../../../../org/apache/solr/common/util/ContentStreamBase.html#DEFAULT_CHARSET">DEFAULT_CHARSET</A>, <A HREF="../../../../../org/apache/solr/common/util/ContentStreamBase.html#name">name</A>, <A HREF="../../../../../org/apache/solr/common/util/ContentStreamBase.html#size">size</A>, <A HREF="../../../../../org/apache/solr/common/util/ContentStreamBase.html#sourceInfo">sourceInfo</A></CODE></TD>
153</TR>
154</TABLE>
155&nbsp;
156<!-- ======== CONSTRUCTOR SUMMARY ======== -->
157
158<A NAME="constructor_summary"><!-- --></A>
159<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
160<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
161<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
162<B>Constructor Summary</B></FONT></TH>
163</TR>
164<TR BGCOLOR="white" CLASS="TableRowColor">
165<TD><CODE><B><A HREF="../../../../../org/apache/solr/common/util/ContentStreamBase.FileStream.html#ContentStreamBase.FileStream(java.io.File)">ContentStreamBase.FileStream</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</A>&nbsp;f)</CODE>
166
167<BR>
168&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
169</TR>
170</TABLE>
171&nbsp;
172<!-- ========== METHOD SUMMARY =========== -->
173
174<A NAME="method_summary"><!-- --></A>
175<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
176<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
177<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
178<B>Method Summary</B></FONT></TH>
179</TR>
180<TR BGCOLOR="white" CLASS="TableRowColor">
181<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
182<CODE>&nbsp;<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></CODE></FONT></TD>
183<TD><CODE><B><A HREF="../../../../../org/apache/solr/common/util/ContentStreamBase.FileStream.html#getContentType()">getContentType</A></B>()</CODE>
184
185<BR>
186&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
187</TR>
188<TR BGCOLOR="white" CLASS="TableRowColor">
189<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
190<CODE>&nbsp;<A HREF="http://download.oracle.com/javase/6/docs/api/java/io/Reader.html?is-external=true" title="class or interface in java.io">Reader</A></CODE></FONT></TD>
191<TD><CODE><B><A HREF="../../../../../org/apache/solr/common/util/ContentStreamBase.FileStream.html#getReader()">getReader</A></B>()</CODE>
192
193<BR>
194&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;If an charset is defined (by the contentType) use that, otherwise
195 use a file reader</TD>
196</TR>
197<TR BGCOLOR="white" CLASS="TableRowColor">
198<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
199<CODE>&nbsp;<A HREF="http://download.oracle.com/javase/6/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io">InputStream</A></CODE></FONT></TD>
200<TD><CODE><B><A HREF="../../../../../org/apache/solr/common/util/ContentStreamBase.FileStream.html#getStream()">getStream</A></B>()</CODE>
201
202<BR>
203&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get an open stream.</TD>
204</TR>
205</TABLE>
206&nbsp;<A NAME="methods_inherited_from_class_org.apache.solr.common.util.ContentStreamBase"><!-- --></A>
207<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
208<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
209<TH ALIGN="left"><B>Methods inherited from class org.apache.solr.common.util.<A HREF="../../../../../org/apache/solr/common/util/ContentStreamBase.html" title="class in org.apache.solr.common.util">ContentStreamBase</A></B></TH>
210</TR>
211<TR BGCOLOR="white" CLASS="TableRowColor">
212<TD><CODE><A HREF="../../../../../org/apache/solr/common/util/ContentStreamBase.html#getCharsetFromContentType(java.lang.String)">getCharsetFromContentType</A>, <A HREF="../../../../../org/apache/solr/common/util/ContentStreamBase.html#getName()">getName</A>, <A HREF="../../../../../org/apache/solr/common/util/ContentStreamBase.html#getSize()">getSize</A>, <A HREF="../../../../../org/apache/solr/common/util/ContentStreamBase.html#getSourceInfo()">getSourceInfo</A>, <A HREF="../../../../../org/apache/solr/common/util/ContentStreamBase.html#setContentType(java.lang.String)">setContentType</A>, <A HREF="../../../../../org/apache/solr/common/util/ContentStreamBase.html#setName(java.lang.String)">setName</A>, <A HREF="../../../../../org/apache/solr/common/util/ContentStreamBase.html#setSize(java.lang.Long)">setSize</A>, <A HREF="../../../../../org/apache/solr/common/util/ContentStreamBase.html#setSourceInfo(java.lang.String)">setSourceInfo</A></CODE></TD>
213</TR>
214</TABLE>
215&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
216<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
217<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
218<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>
219</TR>
220<TR BGCOLOR="white" CLASS="TableRowColor">
221<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>
222</TR>
223</TABLE>
224&nbsp;
225<P>
226
227<!-- ========= CONSTRUCTOR DETAIL ======== -->
228
229<A NAME="constructor_detail"><!-- --></A>
230<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
231<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
232<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
233<B>Constructor Detail</B></FONT></TH>
234</TR>
235</TABLE>
236
237<A NAME="ContentStreamBase.FileStream(java.io.File)"><!-- --></A><H3>
238ContentStreamBase.FileStream</H3>
239<PRE>
240public <B>ContentStreamBase.FileStream</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</A>&nbsp;f)
241                             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>
242<DL>
243<DL>
244
245<DT><B>Throws:</B>
246<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>
247</DL>
248
249<!-- ============ METHOD DETAIL ========== -->
250
251<A NAME="method_detail"><!-- --></A>
252<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
253<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
254<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
255<B>Method Detail</B></FONT></TH>
256</TR>
257</TABLE>
258
259<A NAME="getContentType()"><!-- --></A><H3>
260getContentType</H3>
261<PRE>
262public <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> <B>getContentType</B>()</PRE>
263<DL>
264<DD><DL>
265<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/solr/common/util/ContentStream.html#getContentType()">getContentType</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/solr/common/util/ContentStream.html" title="interface in org.apache.solr.common.util">ContentStream</A></CODE><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../../org/apache/solr/common/util/ContentStreamBase.html#getContentType()">getContentType</A></CODE> in class <CODE><A HREF="../../../../../org/apache/solr/common/util/ContentStreamBase.html" title="class in org.apache.solr.common.util">ContentStreamBase</A></CODE></DL>
266</DD>
267<DD><DL>
268</DL>
269</DD>
270</DL>
271<HR>
272
273<A NAME="getStream()"><!-- --></A><H3>
274getStream</H3>
275<PRE>
276public <A HREF="http://download.oracle.com/javase/6/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io">InputStream</A> <B>getStream</B>()
277                      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>
278<DL>
279<DD><B>Description copied from interface: <CODE><A HREF="../../../../../org/apache/solr/common/util/ContentStream.html#getStream()">ContentStream</A></CODE></B></DD>
280<DD>Get an open stream.  You are responsible for closing it.  Consider using
281 something like:
282 <pre>
283   InputStream stream = stream.getStream();
284   try {
285     // use the stream...
286   }
287   finally {
288     IOUtils.closeQuietly(stream);
289   }
290  </pre>
291 
292 Only the first call to <code>getStream()</code> or <code>getReader()</code>
293 is guaranteed to work.  The runtime behavior for additional calls is undefined.
294
295 Note: you must call <code>getStream()</code> or <code>getReader()</code> before
296 the attributes (name, contentType, etc) are guaranteed to be set.  Streams may be
297 lazy loaded only when this method is called.
298<P>
299<DD><DL>
300
301<DT><B>Throws:</B>
302<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>
303</DD>
304</DL>
305<HR>
306
307<A NAME="getReader()"><!-- --></A><H3>
308getReader</H3>
309<PRE>
310public <A HREF="http://download.oracle.com/javase/6/docs/api/java/io/Reader.html?is-external=true" title="class or interface in java.io">Reader</A> <B>getReader</B>()
311                 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>
312<DL>
313<DD>If an charset is defined (by the contentType) use that, otherwise
314 use a file reader
315<P>
316<DD><DL>
317<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/solr/common/util/ContentStream.html#getReader()">getReader</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/solr/common/util/ContentStream.html" title="interface in org.apache.solr.common.util">ContentStream</A></CODE><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../../org/apache/solr/common/util/ContentStreamBase.html#getReader()">getReader</A></CODE> in class <CODE><A HREF="../../../../../org/apache/solr/common/util/ContentStreamBase.html" title="class in org.apache.solr.common.util">ContentStreamBase</A></CODE></DL>
318</DD>
319<DD><DL>
320
321<DT><B>Throws:</B>
322<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>
323</DD>
324</DL>
325<!-- ========= END OF CLASS DATA ========= -->
326<HR>
327
328
329<!-- ======= START OF BOTTOM NAVBAR ====== -->
330<A NAME="navbar_bottom"><!-- --></A>
331<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
332<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
333<TR>
334<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
335<A NAME="navbar_bottom_firstrow"><!-- --></A>
336<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
337  <TR ALIGN="center" VALIGN="top">
338  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
339  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
340  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
341  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/ContentStreamBase.FileStream.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
342  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
343  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
344  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
345  </TR>
346</TABLE>
347</TD>
348<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
349</EM>
350</TD>
351</TR>
352
353<TR>
354<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
355&nbsp;<A HREF="../../../../../org/apache/solr/common/util/ContentStreamBase.html" title="class in org.apache.solr.common.util"><B>PREV CLASS</B></A>&nbsp;
356&nbsp;<A HREF="../../../../../org/apache/solr/common/util/ContentStreamBase.StringStream.html" title="class in org.apache.solr.common.util"><B>NEXT CLASS</B></A></FONT></TD>
357<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
358  <A HREF="../../../../../index.html?org/apache/solr/common/util/ContentStreamBase.FileStream.html" target="_top"><B>FRAMES</B></A>  &nbsp;
359&nbsp;<A HREF="ContentStreamBase.FileStream.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
360&nbsp;<SCRIPT type="text/javascript">
361  <!--
362  if(window==top) {
363    document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
364  }
365  //-->
366</SCRIPT>
367<NOSCRIPT>
368  <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>
369</NOSCRIPT>
370
371
372</FONT></TD>
373</TR>
374<TR>
375<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
376  SUMMARY:&nbsp;<A HREF="#nested_classes_inherited_from_class_org.apache.solr.common.util.ContentStreamBase">NESTED</A>&nbsp;|&nbsp;<A HREF="#fields_inherited_from_class_org.apache.solr.common.util.ContentStreamBase">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
377<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
378DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
379</TR>
380</TABLE>
381<A NAME="skip-navbar_bottom"></A>
382<!-- ======== END OF BOTTOM NAVBAR ======= -->
383
384<HR>
385
386          <address>Copyright &copy; 2000-2012 Apache Software Foundation.  All Rights Reserved.</address>
387          <script src='../../../../../prettify.js' type='text/javascript'></script>
388          <script type='text/javascript'>
389            (function(){
390              var oldonload = window.onload;
391              if (typeof oldonload != 'function') {
392                window.onload = prettyPrint;
393              } else {
394                window.onload = function() {
395                  oldonload();
396                  prettyPrint();
397                }
398              }
399            })();
400          </script>
401       
402</BODY>
403</HTML>
Note: See TracBrowser for help on using the repository browser.