public static class TLcdModelMetadata.Source extends Object
Constructor and Description |
---|
Source(String aSourceName,
String aMimeTypeOrNull)
Creates a new
TLcdModelMetadata.Source instance with the given source name and mime type. |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object aO) |
String |
getMimeType()
Returns the mime type associated with the source name, or null if no mime type is defined.
|
String |
getSourceName()
Returns the source name.
|
int |
hashCode() |
String |
toString() |
public Source(String aSourceName, String aMimeTypeOrNull)
TLcdModelMetadata.Source
instance with the given source name and mime type.
It is recommended to use absolute paths whenever possible.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.public String getSourceName()
public String getMimeType()