public class WorldFileImageReader extends java.lang.Object implements ImageReader
Modifier and Type | Field and Description |
---|---|
protected java.net.URL |
fileURL |
static java.util.logging.Logger |
logger |
protected WorldFile |
worldFile |
Constructor and Description |
---|
WorldFileImageReader(java.net.URL fileURL) |
Modifier and Type | Method and Description |
---|---|
java.awt.image.BufferedImage |
getBufferedImage()
Will be called by the Image cache by the ImageTile to replenish the image
data as it is needed when the ImageTile is on the map.
|
static java.awt.image.BufferedImage |
getImageIOImage(java.net.URL fileURL) |
ImageTile |
getImageTile()
Should be called by the the object managing the ImageTiles.
|
ImageTile |
getImageTile(ImageTile.Cache cache)
Should be called by the object managing the ImageTiles.
|
static java.awt.image.BufferedImage |
getJAIImage(java.net.URL fileURL) |
static void |
main(java.lang.String[] args) |
public static java.util.logging.Logger logger
protected WorldFile worldFile
protected java.net.URL fileURL
public WorldFileImageReader(java.net.URL fileURL) throws java.net.MalformedURLException, java.io.IOException
java.net.MalformedURLException
java.io.IOException
public java.awt.image.BufferedImage getBufferedImage()
ImageReader
getBufferedImage
in interface ImageReader
public static java.awt.image.BufferedImage getImageIOImage(java.net.URL fileURL) throws java.io.IOException
java.io.IOException
public static java.awt.image.BufferedImage getJAIImage(java.net.URL fileURL) throws java.io.IOException
java.io.IOException
public ImageTile getImageTile(ImageTile.Cache cache)
ImageReader
getImageTile
in interface ImageReader
cache
- The CacheHandler that should be used by the ImageTile for
dynamic image loading.public ImageTile getImageTile()
ImageReader
getImageTile
in interface ImageReader
public static void main(java.lang.String[] args)
Copyright (C) BBNT Solutions LLC; See http://openmap.bbn.com/ for details