Class ErrorDirectory


  • public final class ErrorDirectory
    extends Directory
    A directory to use for the reporting of errors. No values may be added to this directory, only warnings and errors.
    • Constructor Detail

      • ErrorDirectory

        public ErrorDirectory()
      • ErrorDirectory

        public ErrorDirectory​(java.lang.String error)
    • Method Detail

      • getName

        public java.lang.String getName()
        Description copied from class: Directory
        Provides the name of the directory, for display purposes. E.g. Exif
        Specified by:
        getName in class Directory
        Returns:
        the name of the directory
      • getTagName

        public java.lang.String getTagName​(int tagType)
        Description copied from class: Directory
        Returns the name of a specified tag as a String.
        Overrides:
        getTagName in class Directory
        Parameters:
        tagType - the tag type identifier
        Returns:
        the tag's name as a String
      • hasTagName

        public boolean hasTagName​(int tagType)
        Description copied from class: Directory
        Gets whether the specified tag is known by the directory and has a name.
        Overrides:
        hasTagName in class Directory
        Parameters:
        tagType - the tag type identifier
        Returns:
        whether this directory has a name for the specified tag
      • setObject

        public void setObject​(int tagType,
                              java.lang.Object value)
        Description copied from class: Directory
        Sets a Object for the specified tag.
        Overrides:
        setObject in class Directory
        Parameters:
        tagType - the tag's value as an int
        value - the value for the specified tag