org.jxmapviewer.cache.NoOpLocalCache Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jxmapviewer2 Show documentation
Show all versions of jxmapviewer2 Show documentation
A MapViewer based on the JXMapViewer component of SwingX-WS.
package org.jxmapviewer.cache;
import java.io.InputStream;
import java.net.URL;
/**
* A dummy implementation that does nothing
*/
public class NoOpLocalCache implements LocalCache {
@Override
public InputStream get(URL url) {
return null;
}
@Override
public void put(URL url, InputStream data) {
// do nothing
}
}