Class ExternalMetadataUtils

java.lang.Object
org.opencastproject.external.util.ExternalMetadataUtils

public final class ExternalMetadataUtils extends Object
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
    changeSubjectToSubjects(org.opencastproject.metadata.dublincore.DublinCoreMetadataCollection collection)
    Change a subject metadata field for a subjects json array.
    static void
    removeCollectionList(org.opencastproject.metadata.dublincore.DublinCoreMetadataCollection metadata)
    Remove the collection list from the metadata to reduce to amount of data

    Methods inherited from class java.lang.Object

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

    • changeSubjectToSubjects

      public static void changeSubjectToSubjects(org.opencastproject.metadata.dublincore.DublinCoreMetadataCollection collection)
      Change a subject metadata field for a subjects json array.
      Parameters:
      collection - The collection to update subject to subjects.
    • removeCollectionList

      public static void removeCollectionList(org.opencastproject.metadata.dublincore.DublinCoreMetadataCollection metadata)
      Remove the collection list from the metadata to reduce to amount of data
      Parameters:
      metadata - The metadata from which the list have to be removed