Randall,
What of rev's own file IO functions and commands? Wht about
listing directories at a path or spidering down file trees?
Java offers the functionalities more than Rev. For more information,
see the following web page:
http://java.sun.com/j2se/1.5.0/docs/api/index.html
(Click "java.io" in the upper-left frame and then click "File" in the
lower-left frame.)
Do they do the right and same thing on every platform?
I have never encountered problems about File IO on Windows and Mac OS.
My other question is deeper and has to do with listening in to OS
level system wide file IO events.
What dose "OS level system wide file IO event" mean concretely?
Jiro Harada
On 2009/01/19, at 14:53, Randall Reetz wrote:
Thank you Jiro,
What of rev's own file IO functions and commands? Wht about
listing directories at a path or spidering down file trees? Do
they do the right and same thing on every platform? My other
question is deeper and has to do with listening in to OS level
system wide file IO events.. And somhow triggering the passing of
matching messages to rev. stacks. Any ideas?
-----Original Message-----
From: "Jiro Harada" <[email protected]>
To: "How to use Revolution" <[email protected]>
Sent: 1/18/2009 9:30 PM
Subject: Re: externals
Randall,
Java provides a lot of methods for File IO, which are abstracted and
platform-dependent. My external enables them to be used from within
Rev.
Java Swing offers a platform-independent file or directory chooser
dialog. However I have never tested it by using my external. I will
test it and inform you of the result later. I don't think my external
can open dialogs created in Java.
Jiro Harada
On 2009/01/19, at 11:21, Randall Reetz wrote:
Well, good, thanks, i guess that provides a path to cross pltform
external supported code. Do java machines offer file IO and
directory navigation? How about reaching into file system events
as they happen and generating rev messages?
-----Original Message-----
From: "Jiro Harada" <[email protected]>
To: "How to use Revolution" <[email protected]>
Sent: 1/18/2009 5:42 PM
Subject: Re: externals
Randall,
In rev, are externals written to a reference VM so that they are
only written once and can run on any platform? Or, do they have to
be written separately to each platform? Can java programs be called
as externals?
Randall
I have written an external to launch a JVM and call the Java methods
on Windows and Mac OS. By the external the Java methods can be called
as external commands or functions of Rev on both platforms. The
external also enables the Java programs to send messages to Rev's
handlers.
The demo is downloadable at the following URL:
http://www.f-ab.net
The demo is created by Runrev 3.0. In the demo, Derby(relational
database in written Java), HttpClient(http components written Java),
Red5(Flash server written in Java) and Sphinx-4(speech recognizer
written in Java) are used.
Jiro Harada
_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution