Color table from TextAdapter

Hello everyone,

I want to load a user-defined color table from a text file. For that I want to define the color table as a VisAD Data object and read it off from a text file using VisAD's TextAdapter. (Actually, there's no need to define anything here, because the data object will be automagically created by the adapter...and I just want to get the RGB values as float[3][ N ].)

Has anyone got a snippet of code (that does exactly that) to donate to an open source project?