OSDN Git Service

lejos_NXJ_win32_0_6_0beta.zip
[nxt-jsp/lejos_nxj.git] / nxtOSEK / lejos_nxj / docs / apidocs / java / io / FileInputStream.html
index 393befa..a714f88 100644 (file)
@@ -2,7 +2,7 @@
 <!--NewPage-->
 <HTML>
 <HEAD>
-<!-- Generated by javadoc (build 1.5.0_09) on Tue Jan 08 20:46:02 GMT 2008 -->
+<!-- Generated by javadoc (build 1.5.0_09) on Mon May 05 21:42:43 BST 2008 -->
 <TITLE>
 FileInputStream (leJOS NXT API documentation)
 </TITLE>
@@ -137,6 +137,16 @@ Reads a stream of bytes from a file.
 <TR BGCOLOR="white" CLASS="TableRowColor">
 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 <CODE>&nbsp;int</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../java/io/FileInputStream.html#available()">available</A></B>()</CODE>
+
+<BR>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the number of bytes that can be read (or skipped over) from
+ this input stream without blocking by the next caller of a method for
+ this input stream.</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>&nbsp;int</CODE></FONT></TD>
 <TD><CODE><B><A HREF="../../java/io/FileInputStream.html#read()">read</A></B>()</CODE>
 
 <BR>
@@ -157,7 +167,7 @@ Reads a stream of bytes from a file.
 <TH ALIGN="left"><B>Methods inherited from class java.io.<A HREF="../../java/io/InputStream.html" title="class in java.io">InputStream</A></B></TH>
 </TR>
 <TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../java/io/InputStream.html#available()">available</A>, <A HREF="../../java/io/InputStream.html#close()">close</A>, <A HREF="../../java/io/InputStream.html#mark(int)">mark</A>, <A HREF="../../java/io/InputStream.html#markSupported()">markSupported</A>, <A HREF="../../java/io/InputStream.html#read(byte[])">read</A>, <A HREF="../../java/io/InputStream.html#read(byte[], int, int)">read</A>, <A HREF="../../java/io/InputStream.html#skip(long)">skip</A></CODE></TD>
+<TD><CODE><A HREF="../../java/io/InputStream.html#close()">close</A>, <A HREF="../../java/io/InputStream.html#mark(int)">mark</A>, <A HREF="../../java/io/InputStream.html#markSupported()">markSupported</A>, <A HREF="../../java/io/InputStream.html#read(byte[])">read</A>, <A HREF="../../java/io/InputStream.html#read(byte[], int, int)">read</A>, <A HREF="../../java/io/InputStream.html#skip(long)">skip</A></CODE></TD>
 </TR>
 </TABLE>
 &nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
@@ -199,6 +209,36 @@ public <B>FileInputStream</B>(<A HREF="../../java/io/File.html" title="class in
 </TR>
 </TABLE>
 
+<A NAME="available()"><!-- --></A><H3>
+available</H3>
+<PRE>
+public int <B>available</B>()
+              throws <A HREF="../../java/io/IOException.html" title="class in java.io">IOException</A></PRE>
+<DL>
+<DD><B>Description copied from class: <CODE><A HREF="../../java/io/InputStream.html#available()">InputStream</A></CODE></B></DD>
+<DD>Returns the number of bytes that can be read (or skipped over) from
+ this input stream without blocking by the next caller of a method for
+ this input stream.  The next caller might be the same thread or or
+ another thread.
+
+ <p> The <code>available</code> method for class <code>InputStream</code>
+ always returns <code>0</code>.
+
+ <p> This method should be overridden by subclasses.
+<P>
+<DD><DL>
+<DT><B>Overrides:</B><DD><CODE><A HREF="../../java/io/InputStream.html#available()">available</A></CODE> in class <CODE><A HREF="../../java/io/InputStream.html" title="class in java.io">InputStream</A></CODE></DL>
+</DD>
+<DD><DL>
+
+<DT><B>Returns:</B><DD>the number of bytes that can be read from this input stream
+             without blocking.
+<DT><B>Throws:</B>
+<DD><CODE><A HREF="../../java/io/IOException.html" title="class in java.io">IOException</A></CODE> - if an I/O error occurs.</DL>
+</DD>
+</DL>
+<HR>
+
 <A NAME="read()"><!-- --></A><H3>
 read</H3>
 <PRE>