Henadeerage Henadeera wrote:Hello Everybody,
I'm searching a way to import a String value from C/C++ program to Java program in the run time using JNI.
Please anybody, guide me to how to do this using JNI.(I know only to say hello world using JNI )
Thank you very much!
Henadeera
Paul Clapham wrote:Well, the page you linked to does say this:
The ThreeTen project is still in Alpha so methods may appear and disappear at any point.
And it says it in boldface as well, meaning it's important. So to me it isn't surprising that you don't have good documentation yet and that things aren't what they seem. That's what "Alpha" means in software development. If you aren't prepared for this sort of thing then you really shouldn't be using the project.
Rob Spoor wrote:http://sourceforge.net/apps/mediawiki/threeten/index.php?title=ThreeTen
Wouter Oet wrote:Out of curiousness: for what kind of application do you need that?
@Steve
Thank you for sharing that as your first post and welcome to the JavaRanch!
Ernest Friedman-Hill wrote:
Henadeerage Henadeera wrote:
Do you mean that ,using SAX ,can't be updated (insert xml record) an existing XML file ???
That is exactly what I mean. Out of the box, SAX does nothing to help you write XML documents, only read them.
Now, to be fair, you could write a SAX event handler which re-sent the events it received, inserting new events as needed to represent your new or changed content; and then another one which, based on the events it received, wrote out an XML document. Then you could connect the first one to a SAX parser, and the second one to the first one, and you'd end up with a modified XML file. I've seen where people have done things like this, actually. But it's pretty crazy stuff.
Ernest Friedman-Hill wrote:SAX isn't a model; it's a series of events sent while parsing a document, without building up any kind of model. That's why it uses less memory, because there's no model! You therefore can't create a document using SAX -- it doesn't even make sense.