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
 
7 Highscores

Join Date: May 2008
Location: United Kingdom
Posts: 1,581
Thanks: 103
Thanked 93 Times in 86 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 Stressed
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 syntax highlighted code tags around your code: [highlight=Java] code here [/highlight]

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

Join Date: May 2008
Posts: 25
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
2d arraylist java actionlistener actionlistener in java actionlistener java addactionlistener addactionlistener in java addactionlistener java applications of oops could not create java virtual machine xp double format java double to int 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.nullpointerexception exception in thread "main" java.lang.outofmemoryerror: java heap space format double java get mouse position java java 2d arraylist java actionlistener java addactionlistener java convert list to map java double format java double formatting java double to int java double to integer java format double java forum java forums java get mouse position java list to map java mouse position java programming forum java programming forums java programming help java sendkeys java two dimensional arraylist java.lang.classformaterror: truncated class file java.lang.outofmemoryerror: java heap space java.util.arraylist jbutton actionlistener jtextarea font jtextfield font size jxl.read.biff.biffexception: unable to recognize ole stream programming mutators and generics two dimensional arraylist java writing ipod apps

All times are GMT. The time now is 06:41 AM.
Powered by vBulletin® Copyright ©2000-2009, Jelsoft Enterprises Ltd.