XML Feeds

.

[java-dev] Parse text as list/Atom

Andrew Robertson andrew at moceanic.com
Thu Oct 11 04:38:32 MDT 2007


Hi,

I want to input a filename as a list e.g.
34f_24353.aiff

and extract the part after the 34f_ as numbers

I'm thinking I would input via public void list(a)
then make a string (how do I do that?)
and then search for the underscore.

If anyone has an idea how to process this information
(the actual problem will be for say forty soundfiles) please post back. At the moment, I just get errors about the type - symbol

I was trying something like this:


	public void list(Atom[] list)
	{

Atom a;
Atom b;

a = list[0];
file_name = parse(a.toString());
//b = a.toString();
//file_name = parse(b);
	}//end list process


More information about the java-dev mailing list