Class VPFDataBase


  • public class VPFDataBase
    extends Object
    This class is not completely implemented due to a decision that the VPFDataStore shall correspond to the VPFLibrary class, not this class
    Author:
    Artur Hefczyc, Knut-Erik Johnsen, Project OneMap
    • Constructor Summary

      Constructors 
      Constructor Description
      VPFDataBase​(File directory)
      Constructor
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      List getLibraries()
      Returns the libraries that are in the database
      double getMaxX()
      Returns the minimum X value of the database
      double getMaxY()
      Returns the minimum X value of the database
      double getMinX()
      Returns the minimum X value of the database
      double getMinY()
      Returns the minimum X value of the database
      String toString()  
      • Methods inherited from class Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • VPFDataBase

        public VPFDataBase​(File directory)
                    throws IOException,
                           SchemaException
        Constructor
        Parameters:
        directory - A File representing the base directory of the database
        Throws:
        IOException
        SchemaException
    • Method Detail

      • getLibraries

        public List getLibraries()
        Returns the libraries that are in the database
        Returns:
        a List containing VPFLibrary objects
      • getMinX

        public double getMinX()
        Returns the minimum X value of the database
        Returns:
        a double value
      • getMinY

        public double getMinY()
        Returns the minimum X value of the database
        Returns:
        a double value
      • getMaxX

        public double getMaxX()
        Returns the minimum X value of the database
        Returns:
        a double value
      • getMaxY

        public double getMaxY()
        Returns the minimum X value of the database
        Returns:
        a double value
      • toString

        public String toString()
        Overrides:
        toString in class Object