tags:

views:

21

answers:

0

Hi!
I want to work with assets (images, videos, audios...) which are uploading and which I can access to via URL, http://www.mypage.com/videos/nameVideo.flv, for example.
What I want to do is to extract metadata from them or other stuffs without have to download them in my local machine.
Before, what I have been doing is getting from my local folder, where the assets are, all the names and by this name, extracting metadata or whatever.
I just want to skip this step, download.
Is it really possible? Could you recommend me a Java API or Java class to get it?

I had a look to this:

URL u;  
InputStream is = null;  
DataInputStream dis;   
String s;  


u = new URL("http://www.mypage.com/videos/");  
is = u.openStream();  
dis = new DataInputStream(new BufferedInputStream(is));  

But maybe you could recommend me a better way, because in this one I am not able to read all the asset list.
Thanks in advance