file - Java filename with bracket -


i'm getting error when try read files flashdrive. of files contain left parenthesis not right one. have many files change each file seperately.

thats code:

string src; src = "c:\\users\\marc\\desktop\\musik\\02 uncrushables (feat. ill bill.mp3" file tempmp3 = new file(src); 

and error message i'm getting:

exception in thread "main" org.farng.mp3.tagexception: unable create filenametag @ org.farng.mp3.mp3file.<init>(unknown source) @ org.farng.mp3.mp3file.<init>(unknown source) @ org.farng.mp3.mp3file.<init>(unknown source) @ newid3.main(newid3.java:55) caused by: org.farng.mp3.tagexception: unmatched parenthesis in "02 uncrushables (feat. ill bill" @ position : 20     @ org.farng.mp3.filename.filenametagbuilder.parseparenthesis(unknown source)     @ org.farng.mp3.filename.filenametagbuilder.createcompositefromtoken(unknown source)     @ org.farng.mp3.filename.filenametagbuilder.createfilenametagfrommp3file(unknown source)     ... 4 more java result: 1 

does know how can solve this?

thanks ur in advance!

ps: if haven't explained myself enough please tell me , i'll try better.

it's not java per se. it's library you're using.

caused by: org.farng.mp3.tagexception: unmatched parenthesis in "02 uncrushables (feat. ill bill" @ position : 20     @ org.farng.mp3.filename.filenametagbuilder.parseparenthesis(unknown source) 

your library attempting parse filename. simple java file object wouldn't care @ all.


Comments

Popular posts from this blog

ios - UICollectionView Self Sizing Cells with Auto Layout -

node.js - ldapjs - write after end error -

DOM Manipulation in Wordpress (and elsewhere) using php -