Robert Covell wrote:
>
> System.out.println("Getting file: " + loc);
> try
> {
> DataInputStream di = new DataInputStream(new
> FileInputStream(new File(loc)));
> int avail = di.available();
i think it must return 0, ^^^^^^^^^^^^^^^^^^^^ (if it actually not
overloaded)
> System.out.println("Available: " + avail);
> byte[] data = new byte[avail];
Cheers.
--
Alexander Davydenko |
[EMAIL PROTECTED], [EMAIL PROTECTED] | Moscow, USSR
-------------------------------------------------------------------------
<<<<< Powered by Linux & 220V >>>>>
----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]