Rational Asset Manager can maintain a cached copy of a URL artifact. Use the method RAMURLArtifact.hasCachedContent() to check if an artifact has a cached version that is downloadable. Use RAMURLArtifact.getCachedContent() to get an InputStream to the cached version of the artifact's content.
//Get the artifact root
FolderArtifact root = asset.getArtifactsRoot();
Artifact[] children = root.getChildren();
//Iterate through the artifacts in the root folder
for(int i = 0; i < children.length; i++){
//Check every URL artifact
if(Artifact.TYPE_URL.equals(children[i].getType())){
RAMURLArtifact urlArtifact = ((RAMURLArtifact)children[i]);
//Check if there is cached content for this URL
if(urlArtifact.hasCachedContent()){
//Get an input stream to the cached content of this URL
InputStream is = urlArtifact.getCachedContent();
//Read the URL's cached content
}
}
}