BugBlatter
Programmer
I want to use Ant to replace a token @PACKAGE@ with a String stored in a property called ${package}. But the value of the package property would be in the format "com/company/package" and needs to be converted to the format com.company.package. I need to create a subclass of FilterReader in order to do this but I don't know how to override the read() method. It only returns a character at a time so how do I read in enough characters to realise I've found my token to replace and then return the replacement string?
Cheers
Cheers