deegree-tools-3.0-pre-nightly (2010/03/05 00:05) - official

org.deegree.tools.rendering.dem.builder
Class PatchManager

java.lang.Object
  extended by org.deegree.tools.rendering.dem.builder.PatchManager

public class PatchManager
extends Object

Manages the storing of MacroTriangle-based patches during the generation of an MultiresolutionMesh-dataset (that is performed by the DEMDatasetGenerator).

Version:
$Revision: $, $Date: $
Author:
Markus Schneider, last edited by: $Author: schneider $

Constructor Summary
PatchManager(int levels, Blob targetBlob)
           
 
Method Summary
 int getLevels()
           
 FragmentInfo getPatchByLocationCode(int locationCode)
           
static PatchManager restoreFromFile(File file)
           
 void saveToFile(File file)
           
 void storePatch(MacroTriangle patch, ByteBuffer rawTileBytes)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PatchManager

PatchManager(int levels,
             Blob targetBlob)
Method Detail

getLevels

public int getLevels()

storePatch

public void storePatch(MacroTriangle patch,
                       ByteBuffer rawTileBytes)
                throws SQLException
Throws:
SQLException

getPatchByLocationCode

public FragmentInfo getPatchByLocationCode(int locationCode)

saveToFile

public void saveToFile(File file)
                throws FileNotFoundException,
                       IOException
Throws:
FileNotFoundException
IOException

restoreFromFile

public static PatchManager restoreFromFile(File file)
                                    throws FileNotFoundException,
                                           IOException,
                                           ClassNotFoundException
Throws:
FileNotFoundException
IOException
ClassNotFoundException

toString

public String toString()
Overrides:
toString in class Object

deegree-tools-3.0-pre-nightly (2010/03/05 00:05) - official

an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org

]]>