Results 1 to 5 of 5
- 04-17-2008, 08:45 AM #1
Member
- Join Date
- Apr 2008
- Posts
- 7
- Rep Power
- 0
- 04-17-2008, 02:02 PM #2
Take a look at File Class... there is a mkdir() method there... have some experiments on it....
About copying files, also have a look at FileChannel Class.... it is more safer to implement....
regards,
sukatoa
- 06-02-2008, 11:36 PM #3
Member
- Join Date
- Jun 2008
- Posts
- 2
- Rep Power
- 0
folder backup in java
how do i make folder backup in jave by copying each hour only the changes occured on the folder or subfolder(s),and by folder cloning
- 06-03-2008, 03:04 AM #4
You may persist/save a log file with a data that represents the exact length/size of those files inside the folders/subfolders.
Implementing it with thread is safe. you may use sleep(long hour) method to make the thread fall a sleep every hour. After every interval, check the files inside those folders if their size have been changed by comparing them with the data inside that log file.
If yes, then do the copy....freedom exists in the world of ideas
- 06-14-2008, 02:21 AM #5
Member
- Join Date
- Jun 2008
- Posts
- 22
- Rep Power
- 0
Similar Threads
-
Want Some Expert Advice? JAX India 2008 Might Be the Right Place
By james in forum Java SoftwareReplies: 2Last Post: 03-03-2008, 08:05 PM -
add password to folder
By ismailsaleh in forum AWT / SwingReplies: 1Last Post: 01-08-2008, 05:46 AM -
How to place panel into frame
By vivek_9912 in forum AWT / SwingReplies: 2Last Post: 11-19-2007, 11:21 PM -
how to place a divider of the splitpane?
By christina in forum New To JavaReplies: 1Last Post: 08-06-2007, 07:41 PM -
how to place an image in an applet
By paty in forum Java AppletsReplies: 2Last Post: 08-04-2007, 05:15 PM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks