Class TLcdModelMetadata.Source

java.lang.Object
com.luciad.model.TLcdModelMetadata.Source
Enclosing class:
TLcdModelMetadata

public static class TLcdModelMetadata.Source extends Object
A source name and its (optionally) associated mime type.
Since:
2018.0
  • Constructor Details

    • Source

      public Source(String aSourceName, String aMimeTypeOrNull)
      Creates a new TLcdModelMetadata.Source instance with the given source name and mime type. It is recommended to use absolute paths whenever possible.
      Parameters:
      aSourceName - The source name. Cannot be null.
      aMimeTypeOrNull - The mime type associated with the source name, or null if no mime type can/needs to be defined.
  • Method Details

    • getSourceName

      public String getSourceName()
      Returns the source name.
      Returns:
      The source name
    • getMimeType

      public String getMimeType()
      Returns the mime type associated with the source name, or null if no mime type is defined.
      Returns:
      The mime type associated with the source name, or null if no mime type is defined.
    • equals

      public boolean equals(Object aO)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object