XML Feeds

.

[java-dev] best way to get coll contents into mxj?

Dan Nigrin dan at defectiverecords.com
Mon Dec 3 09:07:44 MST 2007


At 8:48 AM +0000 12/3/07, Nick Rothwell wrote:
>On 2 Dec 2007, at 21:25, Dan Nigrin wrote:
>
>>Or is there some other faster/more elegant automagical way to get 
>>my coll contents into a Java array or other structure?
>
>I would probably just code the Java-to-Max linkup via messages to 
>load the coll (probably in a background thread to avoid locking up 
>the GUI), but if you're concerned with performance you could search 
>for and read and parse the coll file from disk in Java (assuming it 
>is actually a file, and assuming no interference between Java's 
>access to the file and Max's access).

Thanks Nick - it's actually *not* a file (just stored in memory), 
though I could obviously make it one... I think I'll just begin with 
doing it as I described, and if it locks up the GUI too much, I'll 
explore the thread stuff...

Dan
-- 
Dan Nigrin
Defective Records
202 Hack / PC-1600 User / VSTi Host / OMS Convert / Jack OS X / Major 
Malfunction
http://www.defectiverecords.com
http://www.jackosx.com



More information about the java-dev mailing list