Cut Image from one folder to another in Java

Hi experts,
                 Can somebody help me out with a code snippet to cut an image from one folder to another in java.. i.e copy an image from src to dest and delete it from src ..
royalcyberAsked:
Who is Participating?
 
objectsConnect With a Mentor Commented:
You just need to move the file

http://www.objects.com.au/java/qa/1722488142.html

If you are movinging to to a different filesystem you may need to copy and delete original

http://www.objects.com.au/java/qa/1579575043.html
http://www.objects.com.au/java/qa/2022356622.html
0
 
royalcyberAuthor Commented:
Cool.. I was struggling with ImageIO and other API's .. Thank u objects :)
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.