jaitools.demo.tilecache
Class TileCacheDemo

java.lang.Object
  extended by jaitools.demo.tilecache.TileCacheDemo
All Implemented Interfaces:
Observer

public class TileCacheDemo
extends Object
implements Observer

Demonstrates basic use of DiskMemTileCache.

Since:
1.0
Version:
$Id: TileCacheDemo.java 1386 2011-02-11 03:47:53Z michael.bedward $
Author:
Michael Bedward

Constructor Summary
TileCacheDemo()
           
 
Method Summary
static void main(String[] args)
          Run the example app.
 void update(Observable ocache, Object otile)
          This method handles Observer notifications from the cache
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TileCacheDemo

public TileCacheDemo()
Method Detail

main

public static void main(String[] args)
Run the example app.

Parameters:
args - ignored

update

public void update(Observable ocache,
                   Object otile)
This method handles Observer notifications from the cache

Specified by:
update in interface Observer
Parameters:
ocache - the cache
otile - a cached tile


Copyright © 2009-2011. All Rights Reserved.