Class NexusMetadataReader

java.lang.Object
gda.factory.FindableBase
gda.data.metadata.NexusMetadataReader
All Implemented Interfaces:
Findable

public class NexusMetadataReader extends FindableBase
NexusMetadataReader class.
  • Constructor Details

    • NexusMetadataReader

      public NexusMetadataReader()
      Constructor.
    • NexusMetadataReader

      public NexusMetadataReader(String filename)
      Constructor.
      Parameters:
      filename -
  • Method Details

    • getNamedNexusMetadata

      public String getNamedNexusMetadata(String name) throws NexusException
      Gets the metadata item with a given name.
      Parameters:
      name -
      Returns:
      metadata
      Throws:
      NexusException
    • getNexusMetadata

      public String getNexusMetadata(String location) throws NexusException
      Gets the metadata item at a given location.
      Parameters:
      location -
      Returns:
      metadata
      Throws:
      NexusException
    • addNexusMetadataEntry

      public void addNexusMetadataEntry(NexusMetadataEntry entry)
      Adds a metadata entry.
      Parameters:
      entry -
    • setNexusMetadataEntries

      public void setNexusMetadataEntries(List<NexusMetadataEntry> entries)
      Sets the entries within this metadata.
      Parameters:
      entries - the metadata entries
    • getNexusMetadataEntries

      public ArrayList<NexusMetadataEntry> getNexusMetadataEntries()
      Gets a list of NexusMetadataEntry.
      Returns:
      ArrayList of nexus metadata entries.
    • setFilename

      public void setFilename(String filename)
      Set the filename.
      Parameters:
      filename -