I use the proprietary Java library, which saves its data directly to java.io.File, but I need to be able to read the data so that it is directly transmitted. The data is binary, some media files.
java.io.Filepassed as an argument to this library, but I don't know how to get the stream from it. Is there an easy way to do this, besides opening the file for reading and trying to synchronize read / write operations !?
Presumably, I would like to skip writing to part of the file system, since I use this from the applet and in this case I need additional permissions.
source
share