commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mario Ivankovits <ma...@ops.co.at>
Subject Re: [vfs] filecontent
Date Mon, 10 Oct 2005 14:42:41 GMT
Felipe Crochik wrote:
>Is there someway on vfs to create a
>"content provider" for files with extension jpg.
>  
There is already a contribution waiting which extends VFS with a 
"service provider".
That way you should be able to implement e.g. a ExifService
You can get access to it with

ExifService exif = (ExifService) fileObject.getService(ExifService.class);
int width = exif.getWidth();

(or simmilar)


This will be added after the 1.0 release.
Please wait some time for it.

---
Mario


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org


Mime
View raw message