Class DBaseFileAttributeAccessor

    • Constructor Detail

      • DBaseFileAttributeAccessor

        DBaseFileAttributeAccessor​(DBaseFileAttributePool pool,
                                   int recordNumber)
        Constructor.
        Parameters:
        pool - is the pool associated to this accessor.
        recordNumber - is the record index of this accessor.
    • Method Detail

      • getResource

        @Pure
        public URL getResource()
        Replies the URL where the dBase file is located.
        Returns:
        the URL where the dBase file is located.
      • getRecordNumber

        @Pure
        public int getRecordNumber()
        Replies record number that is red by this container.

        This number could changed between two call to this function.

        Returns:
        the record number (0..recordCount-1).
      • getAttributeCount

        @Pure
        public int getAttributeCount()
        Description copied from interface: AttributeProvider
        Replies the count of attributes.
        Returns:
        the count of attributes.
      • toMap

        @Pure
        public void toMap​(Map<String,​Object> mapToFill)
        Description copied from interface: AttributeProvider
        Fill the given map with the values stored in this attribute provider.
        Parameters:
        mapToFill - is the map to fill, never null.