|
hi ,
my task is that i have to compare cache's file and repository's file . which is most recently updated (which is newer).
in i have to done in weblogic server 8.2 's repository and file system(cache) .
details :
i want to know that how we can check that when the file in repository last modified.
i want to check that node content of a particular repository (file /image/any data ) last modified by anyone , so that i can put the latest data in cache if cache 's file modified time
is less then repository's file modified .other wise no need to copy all file/data again ,if no modification .
|
|
|
Ok, your post is very poorly written.
But i think you are asking how you gain information such as when a file was last modified. File manipulation is very easy in Java and there are many website which go through these precudures, if i was you i would make a google search such as "Java File Last Modified", this is a website i found which explains it, actually it give you the code: http://www.rgagnon.com/javadetails/java-0068.html
|
|
|
hi mmrab
thanx dear ,
i think you never heared abt Weblogic and repository
i m asking abt last modified time of a node's content in repository , not in simple java object .
any ways try to find again
regards
|
|
|
|
|
|
|
|