XML Feeds

.

[java-dev] Re: SOLUTION! Long Filename Support in Max with Java

Rick Burnett grimepoch at mac.com
Mon Sep 10 15:21:43 MDT 2007


Here is a new 'convert' method that will keep from translating files that are already in the old representation:

	public void convert(String s1)
	{	//Need to make sure this string does not need to be converted	
		if(s1.matches(".*#[0-9]+\\..*") && s1.matches(".*:.*"))
		{	outlet(0,Atom.newAtom(s1));
		}
		else	
		{	String s2 = getMyFullName( s1 );	
	    	outlet(0,Atom.newAtom(s2));
		}
	}
    


More information about the java-dev mailing list