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_07) on Tue Sep 01 20:56:51 UTC 2009 --> |
---|
6 | <TITLE> |
---|
7 | FTPInputStream (Hadoop 0.20.1 API) |
---|
8 | </TITLE> |
---|
9 | |
---|
10 | <META NAME="date" CONTENT="2009-09-01"> |
---|
11 | |
---|
12 | <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../stylesheet.css" TITLE="Style"> |
---|
13 | |
---|
14 | <SCRIPT type="text/javascript"> |
---|
15 | function windowTitle() |
---|
16 | { |
---|
17 | if (location.href.indexOf('is-external=true') == -1) { |
---|
18 | parent.document.title="FTPInputStream (Hadoop 0.20.1 API)"; |
---|
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> </TD> |
---|
41 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> |
---|
42 | <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> |
---|
43 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/FTPInputStream.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> |
---|
44 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> |
---|
45 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> |
---|
46 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> |
---|
47 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </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 | <A HREF="../../../../../org/apache/hadoop/fs/ftp/FTPFileSystem.html" title="class in org.apache.hadoop.fs.ftp"><B>PREV CLASS</B></A> |
---|
59 | NEXT CLASS</FONT></TD> |
---|
60 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
---|
61 | <A HREF="../../../../../index.html?org/apache/hadoop/fs/ftp/FTPInputStream.html" target="_top"><B>FRAMES</B></A> |
---|
62 | <A HREF="FTPInputStream.html" target="_top"><B>NO FRAMES</B></A> |
---|
63 | <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: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> |
---|
80 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
---|
81 | DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <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"> |
---|
91 | org.apache.hadoop.fs.ftp</FONT> |
---|
92 | <BR> |
---|
93 | Class FTPInputStream</H2> |
---|
94 | <PRE> |
---|
95 | <A HREF="http://java.sun.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="http://java.sun.com/javase/6/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io">java.io.InputStream</A> |
---|
97 | <IMG SRC="../../../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../../../org/apache/hadoop/fs/FSInputStream.html" title="class in org.apache.hadoop.fs">org.apache.hadoop.fs.FSInputStream</A> |
---|
98 | <IMG SRC="../../../../../resources/inherit.gif" ALT="extended by "><B>org.apache.hadoop.fs.ftp.FTPInputStream</B> |
---|
99 | </PRE> |
---|
100 | <DL> |
---|
101 | <DT><B>All Implemented Interfaces:</B> <DD><A HREF="http://java.sun.com/javase/6/docs/api/java/io/Closeable.html?is-external=true" title="class or interface in java.io">Closeable</A>, <A HREF="../../../../../org/apache/hadoop/fs/PositionedReadable.html" title="interface in org.apache.hadoop.fs">PositionedReadable</A>, <A HREF="../../../../../org/apache/hadoop/fs/Seekable.html" title="interface in org.apache.hadoop.fs">Seekable</A></DD> |
---|
102 | </DL> |
---|
103 | <HR> |
---|
104 | <DL> |
---|
105 | <DT><PRE>public class <B>FTPInputStream</B><DT>extends <A HREF="../../../../../org/apache/hadoop/fs/FSInputStream.html" title="class in org.apache.hadoop.fs">FSInputStream</A></DL> |
---|
106 | </PRE> |
---|
107 | |
---|
108 | <P> |
---|
109 | <HR> |
---|
110 | |
---|
111 | <P> |
---|
112 | |
---|
113 | <!-- ======== CONSTRUCTOR SUMMARY ======== --> |
---|
114 | |
---|
115 | <A NAME="constructor_summary"><!-- --></A> |
---|
116 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
117 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
---|
118 | <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> |
---|
119 | <B>Constructor Summary</B></FONT></TH> |
---|
120 | </TR> |
---|
121 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
122 | <TD><CODE><B><A HREF="../../../../../org/apache/hadoop/fs/ftp/FTPInputStream.html#FTPInputStream(java.io.InputStream, org.apache.commons.net.ftp.FTPClient, org.apache.hadoop.fs.FileSystem.Statistics)">FTPInputStream</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io">InputStream</A> stream, |
---|
123 | org.apache.commons.net.ftp.FTPClient client, |
---|
124 | <A HREF="../../../../../org/apache/hadoop/fs/FileSystem.Statistics.html" title="class in org.apache.hadoop.fs">FileSystem.Statistics</A> stats)</CODE> |
---|
125 | |
---|
126 | <BR> |
---|
127 | </TD> |
---|
128 | </TR> |
---|
129 | </TABLE> |
---|
130 | |
---|
131 | <!-- ========== METHOD SUMMARY =========== --> |
---|
132 | |
---|
133 | <A NAME="method_summary"><!-- --></A> |
---|
134 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
135 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
---|
136 | <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> |
---|
137 | <B>Method Summary</B></FONT></TH> |
---|
138 | </TR> |
---|
139 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
140 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
141 | <CODE> void</CODE></FONT></TD> |
---|
142 | <TD><CODE><B><A HREF="../../../../../org/apache/hadoop/fs/ftp/FTPInputStream.html#close()">close</A></B>()</CODE> |
---|
143 | |
---|
144 | <BR> |
---|
145 | </TD> |
---|
146 | </TR> |
---|
147 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
148 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
149 | <CODE> long</CODE></FONT></TD> |
---|
150 | <TD><CODE><B><A HREF="../../../../../org/apache/hadoop/fs/ftp/FTPInputStream.html#getPos()">getPos</A></B>()</CODE> |
---|
151 | |
---|
152 | <BR> |
---|
153 | Return the current offset from the start of the file</TD> |
---|
154 | </TR> |
---|
155 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
156 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
157 | <CODE> void</CODE></FONT></TD> |
---|
158 | <TD><CODE><B><A HREF="../../../../../org/apache/hadoop/fs/ftp/FTPInputStream.html#mark(int)">mark</A></B>(int readLimit)</CODE> |
---|
159 | |
---|
160 | <BR> |
---|
161 | </TD> |
---|
162 | </TR> |
---|
163 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
164 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
165 | <CODE> boolean</CODE></FONT></TD> |
---|
166 | <TD><CODE><B><A HREF="../../../../../org/apache/hadoop/fs/ftp/FTPInputStream.html#markSupported()">markSupported</A></B>()</CODE> |
---|
167 | |
---|
168 | <BR> |
---|
169 | </TD> |
---|
170 | </TR> |
---|
171 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
172 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
173 | <CODE> int</CODE></FONT></TD> |
---|
174 | <TD><CODE><B><A HREF="../../../../../org/apache/hadoop/fs/ftp/FTPInputStream.html#read()">read</A></B>()</CODE> |
---|
175 | |
---|
176 | <BR> |
---|
177 | </TD> |
---|
178 | </TR> |
---|
179 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
180 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
181 | <CODE> int</CODE></FONT></TD> |
---|
182 | <TD><CODE><B><A HREF="../../../../../org/apache/hadoop/fs/ftp/FTPInputStream.html#read(byte[], int, int)">read</A></B>(byte[] buf, |
---|
183 | int off, |
---|
184 | int len)</CODE> |
---|
185 | |
---|
186 | <BR> |
---|
187 | </TD> |
---|
188 | </TR> |
---|
189 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
190 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
191 | <CODE> void</CODE></FONT></TD> |
---|
192 | <TD><CODE><B><A HREF="../../../../../org/apache/hadoop/fs/ftp/FTPInputStream.html#reset()">reset</A></B>()</CODE> |
---|
193 | |
---|
194 | <BR> |
---|
195 | </TD> |
---|
196 | </TR> |
---|
197 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
198 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
199 | <CODE> void</CODE></FONT></TD> |
---|
200 | <TD><CODE><B><A HREF="../../../../../org/apache/hadoop/fs/ftp/FTPInputStream.html#seek(long)">seek</A></B>(long pos)</CODE> |
---|
201 | |
---|
202 | <BR> |
---|
203 | Seek to the given offset from the start of the file.</TD> |
---|
204 | </TR> |
---|
205 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
206 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
207 | <CODE> boolean</CODE></FONT></TD> |
---|
208 | <TD><CODE><B><A HREF="../../../../../org/apache/hadoop/fs/ftp/FTPInputStream.html#seekToNewSource(long)">seekToNewSource</A></B>(long targetPos)</CODE> |
---|
209 | |
---|
210 | <BR> |
---|
211 | Seeks a different copy of the data.</TD> |
---|
212 | </TR> |
---|
213 | </TABLE> |
---|
214 | <A NAME="methods_inherited_from_class_org.apache.hadoop.fs.FSInputStream"><!-- --></A> |
---|
215 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
216 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
---|
217 | <TH ALIGN="left"><B>Methods inherited from class org.apache.hadoop.fs.<A HREF="../../../../../org/apache/hadoop/fs/FSInputStream.html" title="class in org.apache.hadoop.fs">FSInputStream</A></B></TH> |
---|
218 | </TR> |
---|
219 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
220 | <TD><CODE><A HREF="../../../../../org/apache/hadoop/fs/FSInputStream.html#read(long, byte[], int, int)">read</A>, <A HREF="../../../../../org/apache/hadoop/fs/FSInputStream.html#readFully(long, byte[])">readFully</A>, <A HREF="../../../../../org/apache/hadoop/fs/FSInputStream.html#readFully(long, byte[], int, int)">readFully</A></CODE></TD> |
---|
221 | </TR> |
---|
222 | </TABLE> |
---|
223 | <A NAME="methods_inherited_from_class_java.io.InputStream"><!-- --></A> |
---|
224 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
225 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
---|
226 | <TH ALIGN="left"><B>Methods inherited from class java.io.<A HREF="http://java.sun.com/javase/6/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io">InputStream</A></B></TH> |
---|
227 | </TR> |
---|
228 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
229 | <TD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/io/InputStream.html?is-external=true#available()" title="class or interface in java.io">available</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/io/InputStream.html?is-external=true#read(byte[])" title="class or interface in java.io">read</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/io/InputStream.html?is-external=true#skip(long)" title="class or interface in java.io">skip</A></CODE></TD> |
---|
230 | </TR> |
---|
231 | </TABLE> |
---|
232 | <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A> |
---|
233 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
234 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
---|
235 | <TH ALIGN="left"><B>Methods inherited from class java.lang.<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></B></TH> |
---|
236 | </TR> |
---|
237 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
238 | <TD><CODE><A HREF="http://java.sun.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://java.sun.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://java.sun.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://java.sun.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://java.sun.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://java.sun.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://java.sun.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://java.sun.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://java.sun.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://java.sun.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://java.sun.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> |
---|
239 | </TR> |
---|
240 | </TABLE> |
---|
241 | |
---|
242 | <P> |
---|
243 | |
---|
244 | <!-- ========= CONSTRUCTOR DETAIL ======== --> |
---|
245 | |
---|
246 | <A NAME="constructor_detail"><!-- --></A> |
---|
247 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
248 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
---|
249 | <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> |
---|
250 | <B>Constructor Detail</B></FONT></TH> |
---|
251 | </TR> |
---|
252 | </TABLE> |
---|
253 | |
---|
254 | <A NAME="FTPInputStream(java.io.InputStream, org.apache.commons.net.ftp.FTPClient, org.apache.hadoop.fs.FileSystem.Statistics)"><!-- --></A><H3> |
---|
255 | FTPInputStream</H3> |
---|
256 | <PRE> |
---|
257 | public <B>FTPInputStream</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io">InputStream</A> stream, |
---|
258 | org.apache.commons.net.ftp.FTPClient client, |
---|
259 | <A HREF="../../../../../org/apache/hadoop/fs/FileSystem.Statistics.html" title="class in org.apache.hadoop.fs">FileSystem.Statistics</A> stats)</PRE> |
---|
260 | <DL> |
---|
261 | </DL> |
---|
262 | |
---|
263 | <!-- ============ METHOD DETAIL ========== --> |
---|
264 | |
---|
265 | <A NAME="method_detail"><!-- --></A> |
---|
266 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
267 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
---|
268 | <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> |
---|
269 | <B>Method Detail</B></FONT></TH> |
---|
270 | </TR> |
---|
271 | </TABLE> |
---|
272 | |
---|
273 | <A NAME="getPos()"><!-- --></A><H3> |
---|
274 | getPos</H3> |
---|
275 | <PRE> |
---|
276 | public long <B>getPos</B>() |
---|
277 | throws <A HREF="http://java.sun.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 class: <CODE><A HREF="../../../../../org/apache/hadoop/fs/FSInputStream.html#getPos()">FSInputStream</A></CODE></B></DD> |
---|
280 | <DD>Return the current offset from the start of the file |
---|
281 | <P> |
---|
282 | <DD><DL> |
---|
283 | <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/hadoop/fs/Seekable.html#getPos()">getPos</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/hadoop/fs/Seekable.html" title="interface in org.apache.hadoop.fs">Seekable</A></CODE><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/hadoop/fs/FSInputStream.html#getPos()">getPos</A></CODE> in class <CODE><A HREF="../../../../../org/apache/hadoop/fs/FSInputStream.html" title="class in org.apache.hadoop.fs">FSInputStream</A></CODE></DL> |
---|
284 | </DD> |
---|
285 | <DD><DL> |
---|
286 | |
---|
287 | <DT><B>Throws:</B> |
---|
288 | <DD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE></DL> |
---|
289 | </DD> |
---|
290 | </DL> |
---|
291 | <HR> |
---|
292 | |
---|
293 | <A NAME="seek(long)"><!-- --></A><H3> |
---|
294 | seek</H3> |
---|
295 | <PRE> |
---|
296 | public void <B>seek</B>(long pos) |
---|
297 | throws <A HREF="http://java.sun.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></PRE> |
---|
298 | <DL> |
---|
299 | <DD><B>Description copied from class: <CODE><A HREF="../../../../../org/apache/hadoop/fs/FSInputStream.html#seek(long)">FSInputStream</A></CODE></B></DD> |
---|
300 | <DD>Seek to the given offset from the start of the file. |
---|
301 | The next read() will be from that location. Can't |
---|
302 | seek past the end of the file. |
---|
303 | <P> |
---|
304 | <DD><DL> |
---|
305 | <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/hadoop/fs/Seekable.html#seek(long)">seek</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/hadoop/fs/Seekable.html" title="interface in org.apache.hadoop.fs">Seekable</A></CODE><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/hadoop/fs/FSInputStream.html#seek(long)">seek</A></CODE> in class <CODE><A HREF="../../../../../org/apache/hadoop/fs/FSInputStream.html" title="class in org.apache.hadoop.fs">FSInputStream</A></CODE></DL> |
---|
306 | </DD> |
---|
307 | <DD><DL> |
---|
308 | |
---|
309 | <DT><B>Throws:</B> |
---|
310 | <DD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE></DL> |
---|
311 | </DD> |
---|
312 | </DL> |
---|
313 | <HR> |
---|
314 | |
---|
315 | <A NAME="seekToNewSource(long)"><!-- --></A><H3> |
---|
316 | seekToNewSource</H3> |
---|
317 | <PRE> |
---|
318 | public boolean <B>seekToNewSource</B>(long targetPos) |
---|
319 | throws <A HREF="http://java.sun.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></PRE> |
---|
320 | <DL> |
---|
321 | <DD><B>Description copied from class: <CODE><A HREF="../../../../../org/apache/hadoop/fs/FSInputStream.html#seekToNewSource(long)">FSInputStream</A></CODE></B></DD> |
---|
322 | <DD>Seeks a different copy of the data. Returns true if |
---|
323 | found a new source, false otherwise. |
---|
324 | <P> |
---|
325 | <DD><DL> |
---|
326 | <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/hadoop/fs/Seekable.html#seekToNewSource(long)">seekToNewSource</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/hadoop/fs/Seekable.html" title="interface in org.apache.hadoop.fs">Seekable</A></CODE><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/hadoop/fs/FSInputStream.html#seekToNewSource(long)">seekToNewSource</A></CODE> in class <CODE><A HREF="../../../../../org/apache/hadoop/fs/FSInputStream.html" title="class in org.apache.hadoop.fs">FSInputStream</A></CODE></DL> |
---|
327 | </DD> |
---|
328 | <DD><DL> |
---|
329 | |
---|
330 | <DT><B>Throws:</B> |
---|
331 | <DD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE></DL> |
---|
332 | </DD> |
---|
333 | </DL> |
---|
334 | <HR> |
---|
335 | |
---|
336 | <A NAME="read()"><!-- --></A><H3> |
---|
337 | read</H3> |
---|
338 | <PRE> |
---|
339 | public int <B>read</B>() |
---|
340 | throws <A HREF="http://java.sun.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></PRE> |
---|
341 | <DL> |
---|
342 | <DD><DL> |
---|
343 | <DT><B>Specified by:</B><DD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/io/InputStream.html?is-external=true#read()" title="class or interface in java.io">read</A></CODE> in class <CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io">InputStream</A></CODE></DL> |
---|
344 | </DD> |
---|
345 | <DD><DL> |
---|
346 | |
---|
347 | <DT><B>Throws:</B> |
---|
348 | <DD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE></DL> |
---|
349 | </DD> |
---|
350 | </DL> |
---|
351 | <HR> |
---|
352 | |
---|
353 | <A NAME="read(byte[], int, int)"><!-- --></A><H3> |
---|
354 | read</H3> |
---|
355 | <PRE> |
---|
356 | public int <B>read</B>(byte[] buf, |
---|
357 | int off, |
---|
358 | int len) |
---|
359 | throws <A HREF="http://java.sun.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></PRE> |
---|
360 | <DL> |
---|
361 | <DD><DL> |
---|
362 | <DT><B>Overrides:</B><DD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/io/InputStream.html?is-external=true#read(byte[], int, int)" title="class or interface in java.io">read</A></CODE> in class <CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io">InputStream</A></CODE></DL> |
---|
363 | </DD> |
---|
364 | <DD><DL> |
---|
365 | |
---|
366 | <DT><B>Throws:</B> |
---|
367 | <DD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE></DL> |
---|
368 | </DD> |
---|
369 | </DL> |
---|
370 | <HR> |
---|
371 | |
---|
372 | <A NAME="close()"><!-- --></A><H3> |
---|
373 | close</H3> |
---|
374 | <PRE> |
---|
375 | public void <B>close</B>() |
---|
376 | throws <A HREF="http://java.sun.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></PRE> |
---|
377 | <DL> |
---|
378 | <DD><DL> |
---|
379 | <DT><B>Specified by:</B><DD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/io/Closeable.html?is-external=true#close()" title="class or interface in java.io">close</A></CODE> in interface <CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/io/Closeable.html?is-external=true" title="class or interface in java.io">Closeable</A></CODE><DT><B>Overrides:</B><DD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/io/InputStream.html?is-external=true#close()" title="class or interface in java.io">close</A></CODE> in class <CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io">InputStream</A></CODE></DL> |
---|
380 | </DD> |
---|
381 | <DD><DL> |
---|
382 | |
---|
383 | <DT><B>Throws:</B> |
---|
384 | <DD><CODE><A HREF="http://java.sun.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="markSupported()"><!-- --></A><H3> |
---|
390 | markSupported</H3> |
---|
391 | <PRE> |
---|
392 | public boolean <B>markSupported</B>()</PRE> |
---|
393 | <DL> |
---|
394 | <DD><DL> |
---|
395 | <DT><B>Overrides:</B><DD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/io/InputStream.html?is-external=true#markSupported()" title="class or interface in java.io">markSupported</A></CODE> in class <CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io">InputStream</A></CODE></DL> |
---|
396 | </DD> |
---|
397 | <DD><DL> |
---|
398 | </DL> |
---|
399 | </DD> |
---|
400 | </DL> |
---|
401 | <HR> |
---|
402 | |
---|
403 | <A NAME="mark(int)"><!-- --></A><H3> |
---|
404 | mark</H3> |
---|
405 | <PRE> |
---|
406 | public void <B>mark</B>(int readLimit)</PRE> |
---|
407 | <DL> |
---|
408 | <DD><DL> |
---|
409 | <DT><B>Overrides:</B><DD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/io/InputStream.html?is-external=true#mark(int)" title="class or interface in java.io">mark</A></CODE> in class <CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io">InputStream</A></CODE></DL> |
---|
410 | </DD> |
---|
411 | <DD><DL> |
---|
412 | </DL> |
---|
413 | </DD> |
---|
414 | </DL> |
---|
415 | <HR> |
---|
416 | |
---|
417 | <A NAME="reset()"><!-- --></A><H3> |
---|
418 | reset</H3> |
---|
419 | <PRE> |
---|
420 | public void <B>reset</B>() |
---|
421 | throws <A HREF="http://java.sun.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></PRE> |
---|
422 | <DL> |
---|
423 | <DD><DL> |
---|
424 | <DT><B>Overrides:</B><DD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/io/InputStream.html?is-external=true#reset()" title="class or interface in java.io">reset</A></CODE> in class <CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io">InputStream</A></CODE></DL> |
---|
425 | </DD> |
---|
426 | <DD><DL> |
---|
427 | |
---|
428 | <DT><B>Throws:</B> |
---|
429 | <DD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE></DL> |
---|
430 | </DD> |
---|
431 | </DL> |
---|
432 | <!-- ========= END OF CLASS DATA ========= --> |
---|
433 | <HR> |
---|
434 | |
---|
435 | |
---|
436 | <!-- ======= START OF BOTTOM NAVBAR ====== --> |
---|
437 | <A NAME="navbar_bottom"><!-- --></A> |
---|
438 | <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> |
---|
439 | <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> |
---|
440 | <TR> |
---|
441 | <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> |
---|
442 | <A NAME="navbar_bottom_firstrow"><!-- --></A> |
---|
443 | <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> |
---|
444 | <TR ALIGN="center" VALIGN="top"> |
---|
445 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> |
---|
446 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> |
---|
447 | <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> |
---|
448 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/FTPInputStream.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> |
---|
449 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> |
---|
450 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> |
---|
451 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> |
---|
452 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> |
---|
453 | </TR> |
---|
454 | </TABLE> |
---|
455 | </TD> |
---|
456 | <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> |
---|
457 | </EM> |
---|
458 | </TD> |
---|
459 | </TR> |
---|
460 | |
---|
461 | <TR> |
---|
462 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
---|
463 | <A HREF="../../../../../org/apache/hadoop/fs/ftp/FTPFileSystem.html" title="class in org.apache.hadoop.fs.ftp"><B>PREV CLASS</B></A> |
---|
464 | NEXT CLASS</FONT></TD> |
---|
465 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
---|
466 | <A HREF="../../../../../index.html?org/apache/hadoop/fs/ftp/FTPInputStream.html" target="_top"><B>FRAMES</B></A> |
---|
467 | <A HREF="FTPInputStream.html" target="_top"><B>NO FRAMES</B></A> |
---|
468 | <SCRIPT type="text/javascript"> |
---|
469 | <!-- |
---|
470 | if(window==top) { |
---|
471 | document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>'); |
---|
472 | } |
---|
473 | //--> |
---|
474 | </SCRIPT> |
---|
475 | <NOSCRIPT> |
---|
476 | <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A> |
---|
477 | </NOSCRIPT> |
---|
478 | |
---|
479 | |
---|
480 | </FONT></TD> |
---|
481 | </TR> |
---|
482 | <TR> |
---|
483 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
---|
484 | SUMMARY: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> |
---|
485 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
---|
486 | DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> |
---|
487 | </TR> |
---|
488 | </TABLE> |
---|
489 | <A NAME="skip-navbar_bottom"></A> |
---|
490 | <!-- ======== END OF BOTTOM NAVBAR ======= --> |
---|
491 | |
---|
492 | <HR> |
---|
493 | Copyright © 2009 The Apache Software Foundation |
---|
494 | </BODY> |
---|
495 | </HTML> |
---|