X-Git-Url: http://git.osdn.net/view?a=blobdiff_plain;f=nxtOSEK%2Flejos_nxj%2Fdocs%2Fapidocs%2Fjava%2Fio%2FFileInputStream.html;fp=nxtOSEK%2Flejos_nxj%2Fdocs%2Fapidocs%2Fjava%2Fio%2FFileInputStream.html;h=a714f88367fa069870684535c1238bb4e5317615;hb=02b55ed885bb3a3127d172ffe12a89eef34ef839;hp=393befaecea702d005b1256549a1bdb54575a154;hpb=815664f1648545c25bb41fd4c99117bf488c7735;p=nxt-jsp%2Flejos_nxj.git diff --git a/nxtOSEK/lejos_nxj/docs/apidocs/java/io/FileInputStream.html b/nxtOSEK/lejos_nxj/docs/apidocs/java/io/FileInputStream.html index 393befa..a714f88 100644 --- a/nxtOSEK/lejos_nxj/docs/apidocs/java/io/FileInputStream.html +++ b/nxtOSEK/lejos_nxj/docs/apidocs/java/io/FileInputStream.html @@ -2,7 +2,7 @@ - + FileInputStream (leJOS NXT API documentation) @@ -137,6 +137,16 @@ Reads a stream of bytes from a file.  int +available() + +
+          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. + + + + int read()
@@ -157,7 +167,7 @@ Reads a stream of bytes from a file. Methods inherited from class java.io.InputStream -available, close, mark, markSupported, read, read, skip +close, mark, markSupported, read, read, skip   @@ -199,6 +209,36 @@ public FileInputStream(

+available

+
+public int available()
+              throws IOException
+
+
Description copied from class: InputStream
+
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. + +

The available method for class InputStream + always returns 0. + +

This method should be overridden by subclasses. +

+

+
Overrides:
available in class InputStream
+
+
+ +
Returns:
the number of bytes that can be read from this input stream + without blocking. +
Throws: +
IOException - if an I/O error occurs.
+
+
+
+

read