Class LocalFileAccess

  • All Implemented Interfaces:
    Access

    public class LocalFileAccess
    extends Object
    implements Access
    This class represents access to a local file.
    • Constructor Detail

      • LocalFileAccess

        public LocalFileAccess​(String path,
                               String basePath)
        This constructor takes the path and the base path of a file.
        Parameters:
        path - the relative path of the file.
        basePath - the used base path.
    • Method Detail

      • getDataTypes

        public Map<String,​String> getDataTypes()
        This methods returns the datatypes of the file. This method always returns null, because the datatypes can't be determined from a local file for the moment.
        Specified by:
        getDataTypes in interface Access
        Returns:
        the datatypes of the file.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • getPath

        public String getPath()
        This method returns the path of the access.
        Returns:
        the relative path.
      • getBasePath

        public String getBasePath()
        This method returns the base path of the access.
        Returns:
        the base path.