Here is what I've done
public String textBuffer;
public String textBuffer;
public void writeDiskCacheToFile(String docRoot,String address) {
try {
String path = docRoot + address;
String dir = path.substring(0,path.lastIndexOf("/"));
dir.replace('/'...
To create a textbuffer
(eg HTML page ) and write the URLcache to a file.The code is as follows:
private void writeDiskCache(UrlCacheEntry uce)
throws IOException {
String path = docRoot + uce.url;
String dir = path.substring(0, path.lastIndexOf("/"));
dir.replace('/', File.separatorChar);
new...
To cache the whole content of the web-site
"http://ece-www.colorado.edu/~bart/book/book/contents.htm", i've read through some ex in issue155 pcplus java tutorial.Seven - eight classes are utilized ()derived for streaming web-content or file directory HTML pages.THis suggest a possible use of...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.