removed deprecated method

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@2723 6c8d7289-2bf4-0310-a012-ef5d649a1542
pull/1/head
orbiter 19 years ago
parent 5ff77612ac
commit f0d747c723

@ -839,24 +839,6 @@ public final class plasmaHTCache {
} }
return null; return null;
} }
/**
* @param url
* @return
*
* @deprecated dont't use this function to avoid OutOfMemory-Exceptions.
* Use {@link #getResourceContentStream(URL)} instead
*/
public byte[] loadResourceContent(URL url) {
// load the url as resource from the cache
File f = getCachePath(url);
if (f.exists() && f.canRead()) try {
return serverFileUtils.read(f);
} catch (IOException e) {
return null;
}
return null;
}
/** /**
* Returns the content of a cached resource as {@link InputStream} * Returns the content of a cached resource as {@link InputStream}

Loading…
Cancel
Save