Class ErrorDirectory

java.lang.Object
com.drew.metadata.Directory
com.drew.metadata.ErrorDirectory

@Deprecated(since="2024-11-20") public final class ErrorDirectory extends Directory
Deprecated.
A directory to use for the reporting of errors. No values may be added to this directory, only warnings and errors.
  • Constructor Details

    • ErrorDirectory

      public ErrorDirectory()
      Deprecated.
    • ErrorDirectory

      public ErrorDirectory(String error)
      Deprecated.
  • Method Details

    • getName

      public String getName()
      Deprecated.
      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 String getTagName(int tagType)
      Deprecated.
      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)
      Deprecated.
      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, Object value)
      Deprecated.
      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