Class ShapefileInfo


  • public final class ShapefileInfo
    extends java.lang.Object
    Contains metadata information about a shapefile. If a shapefile has an associated xml file, the shapefile info will be created and populated with metadata from the file. If a xml file does not exist, this object will be null.
    Since:
    100.2.0
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getCopyrightText()
      Gets the copyright text of the shapefile.
      java.lang.String getCredits()
      Gets the credits of the shapefile.
      java.lang.String getDescription()
      Gets the description of the shapefile.
      java.lang.String getSummary()
      Gets the summary of the shapefile.
      java.util.List<java.lang.String> getTags()
      Gets the tags of the shapefile.
      byte[] getThumbnail()
      Returns a byte array containing the thumbnail data.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getCopyrightText

        public java.lang.String getCopyrightText()
        Gets the copyright text of the shapefile.
        Returns:
        the copyright text of the shapefile
        Since:
        100.2.0
      • getCredits

        public java.lang.String getCredits()
        Gets the credits of the shapefile.
        Returns:
        the credits of the shapefile.
        Since:
        100.2.0
      • getDescription

        public java.lang.String getDescription()
        Gets the description of the shapefile.
        Returns:
        the description of the shapefile.
        Since:
        100.2.0
      • getSummary

        public java.lang.String getSummary()
        Gets the summary of the shapefile.
        Returns:
        the summary of the shapefile.
        Since:
        100.2.0
      • getTags

        public java.util.List<java.lang.String> getTags()
        Gets the tags of the shapefile.
        Returns:
        an unmodifiable list of the tags of the shapefile
        Since:
        100.2.0
      • getThumbnail

        public byte[] getThumbnail()
        Returns a byte array containing the thumbnail data. Will return null if no thumbnail is available.
        Returns:
        the thumbnail bytes
        Since:
        100.2.0