Map
Interface MapFileManager

All Known Implementing Classes:
GebcoMapFile

public interface MapFileManager


Method Summary
 void clearFileData()
           
 java.util.Vector<java.lang.Integer> getAvailableContours()
           
 int getContourCount()
           
 int getContourIndex(double depth)
           
 MapContour getMapContour(int contourIndex)
           
 boolean readFileData(java.io.File file)
          Read all file data including contours.
 boolean readFileData(java.io.File file, boolean contours)
          Read file data and optionally read contours.
 java.io.File selectMapFile(java.io.File currentFile)
           
 

Method Detail

getAvailableContours

java.util.Vector<java.lang.Integer> getAvailableContours()

getMapContour

MapContour getMapContour(int contourIndex)

getContourIndex

int getContourIndex(double depth)

getContourCount

int getContourCount()

readFileData

boolean readFileData(java.io.File file)
Read all file data including contours.

Parameters:
file - File object
Returns:
true if read successful.

readFileData

boolean readFileData(java.io.File file,
                     boolean contours)
Read file data and optionally read contours.

Parameters:
file - file object
contours - true if you want the contours as well
Returns:
true if read successful.

clearFileData

void clearFileData()

selectMapFile

java.io.File selectMapFile(java.io.File currentFile)