loci.formats.dicom

## Interface ITagProvider

- All Known Implementing Classes:
    DicomJSONProvider

      public interface ITagProvider

  Interface used to provide DICOM tags. Implementations may parse tags from a file or other source; loci.formats.out.DicomWriter makes use of this interface to accept supplementary tags.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `java.util.List<DicomTag>` | `getTags()` Retrieve the tags defined by this provider.
    `void` | `readTagSource(java.lang.String location)` Read tags from the given location.

- - ### Method Detail

    - #### readTagSource

          void readTagSource(java.lang.String location)
                      throws java.io.IOException

      Read tags from the given location. The interpretation of 'location' is implementation-dependent. This method must be called before retrieving tags.
      Throws:
        `java.io.IOException`

    - #### getTags

          java.util.List<DicomTag> getTags()

      Retrieve the tags defined by this provider.

Copyright © 2026 Open Microscopy Environment