Solved

Cut Image from one folder to another in Java

Posted on 2008-06-21
2
544 Views
Last Modified: 2013-12-29
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 ..
0
Comment
Question by:royalcyber
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 92

Accepted Solution

by:
objects earned 500 total points
ID: 21839214
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
 

Author Comment

by:royalcyber
ID: 21840884
Cool.. I was struggling with ImageIO and other API's .. Thank u objects :)
0

Featured Post

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

An old method to applying the Singleton pattern in your Java code is to check if a static instance, defined in the same class that needs to be instantiated once and only once, is null and then create a new instance; otherwise, the pre-existing insta…
This was posted to the Netbeans forum a Feb, 2010 and I also sent it to Verisign. Who didn't help much in my struggles to get my application signed. ------------------------- Start The idea here is to target your cell phones with the correct…
Viewers learn about the “for” loop and how it works in Java. By comparing it to the while loop learned before, viewers can make the transition easily. You will learn about the formatting of the for loop as we write a program that prints even numbers…
This theoretical tutorial explains exceptions, reasons for exceptions, different categories of exception and exception hierarchy.

733 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question