Does the Java VM provide custom stream handlers like PHP -
Does the Java VM provide custom stream handlers like PHP -
php's stream api provides features create custom "streams" within zend engine. these stream features designed , sense if native unix-like file descriptors 1 can fopen, fwrite, fread, fseek, etc if normal file, custom handlers (for example) open database connection on fopen, perform sql select on fread, sql insert on fwrite, etc, creating "high-level" database api behaves normal file.
these stream handlers best when written in c/c++, , php/zend provide native api creating stream handlers.
does java vm provide native api type of info handling?
it sounds describing java.nio
, particularly java.nio.channels
packages. example, java.nio.channels.channel
javadoc says (in part)
a channel represents open connection entity such hardware device, file, network socket, or programme component capable of performing 1 or more distinct i/o operations, illustration reading or writing.
java php internals
Comments
Post a Comment