Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Cut Image from one folder to another in Java

Posted on 2008-06-21
2
Medium Priority
?
556 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 2000 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

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

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

After being asked a question last year, I went into one of my moods where I did some research and code just for the fun and learning of it all.  Subsequently, from this journey, I put together this article on "Range Searching Using Visual Basic.NET …
In this post we will learn different types of Android Layout and some basics of an Android App.
Viewers will learn about the different types of variables in Java and how to declare them. Decide the type of variable desired: Put the keyword corresponding to the type of variable in front of the variable name: Use the equal sign to assign a v…
Viewers will learn one way to get user input in Java. Introduce the Scanner object: Declare the variable that stores the user input: An example prompting the user for input: Methods you need to invoke in order to properly get  user input:
Suggested Courses

610 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