I am using a ClientBundle with DataResource elements for audio files
used as sound effects. e.g.
public interface Sounds extends ClientBundle {
@Source(sound1.mp3) DataResource sound1();
@Source(sound2.wav) DataResource sound2();
}
In the above example, the url of
There's a little publicized feature in Eclipse (I assume you are using it).
In the package explorer, right click on your resource, select Google and
then select Add To Client Bundle. Magic! When I tripped over this one I was
giggly. It also works for css files and even creates the interface for
Jeff,
This does not enable you to set the content type, so it has little to
do with the question I asked.
Again, given a ClientBundle with DataResources, how do we set the
content type encoded into the data url of the DataResource?
On Feb 22, 4:29 pm, Jeff Schwartz jefftschwa...@gmail.com