Go Back   Java Programming Forums > Java Standard Edition Programming Help > File I/O & Other I/O Streams

Reply
 
LinkBack (1) Thread Tools Display Modes
  #11 (permalink)  
Old 08-07-2008, 11:41 AM
JavaPF's Avatar
mmm.. coffee
 
5 Highscores

Join Date: May 2008
Location: United Kingdom
Posts: 1,210
Thanks: 60
Thanked 66 Times in 64 Posts
JavaPF is someone you want to know!JavaPF is someone you want to know!JavaPF is someone you want to know!

I'm feeling Inspired
Default Re: Folder Watching

I'm not sure how to go about doing this with images.

The code above looks for all the .txt files in a dir, opens them 1 by 1 and re-creates them in the new directory. This wouldnt work with .tif images.

You can still use the above code to list all the images in a directory. Ill have a think about how to move these files and get back to you..



__________________
Don't forget to add code tags around your code:

Forum Tip: Add to peoples reputation () by clicking the button on their useful posts.
Reply With Quote
Sponsored Links
  #12 (permalink)  
Old 08-07-2008, 11:47 AM
Banned
 

Join Date: May 2008
Posts: 26
Thanks: 0
Thanked 0 Times in 0 Posts
Engineeringserver is on a distinguished road
Default Re: Folder Watching

Quote:
Originally Posted by JavaPF View Post
I'm not sure how to go about doing this with images.

The code above looks for all the .txt files in a dir, opens them 1 by 1 and re-creates them in the new directory. This wouldnt work with .tif images.

You can still use the above code to list all the images in a directory. Ill have a think about how to move these files and get back to you..
It could work if you can read the encoding for tiff images: Java Advanced Imaging API Home Page

It's not that hard to implements it by the looks of it. (though i havent done anything with image manipulating yet, but this can be a good time to try out)
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


LinkBacks (?)
LinkBack to this Thread: http://www.javaprogrammingforums.com/file-i-o-other-i-o-streams/70-folder-watching.html
Posted By For Type Date
Folder Watching This thread Refback 17-07-2008 06:43 AM


100 most searched terms
Search Cloud
2 dimensional arraylist java 2d arraylist java actionlistener actionlistener in java actionlistener java actionlistener jbutton addactionlistener addactionlistener java avatar hardware id convert double to integer java double format java double to int java double to integer in java double to integer java eclipse shortcut keys eclipse tutorial for beginners exception in thread "awt-eventqueue-0" java.lang.outofmemoryerror: java heap space exception in thread "main" java.lang.outofmemoryerror: java heap space format double java get mouse position java hardware id avatar java 2 dimensional arraylist java 2d arraylist java actionlistener java addactionlistener java button actionlistener java double format java double to int java double to integer java for beginner eclippse java format double java forum java forums java get mouse position java ipod touch java jbutton java list to map java mouse position java programming forum java programming forums java sendkeys java.lang.reflect.invocationtargetexception java.util.arraylist jbutton actionlistener jbutton java jtextarea font color programming forums string to int java two dimensional arraylist java writing apps for ipod touch

All times are GMT. The time now is 02:47 PM.
Powered by vBulletin® Copyright ©2000-2009, Jelsoft Enterprises Ltd.