| Constructor and Description |
|---|
TargetFormat(String extension,
TargetFormatType type,
String mimetype)
Instantiates a new target format.
|
| Modifier and Type | Method and Description |
|---|---|
TargetFormat |
add(String mimetype)
Adds the mimetyoe.
|
boolean |
equals(Object obj) |
String |
getExtension() |
String |
getMimetype() |
Set<String> |
getMimetypes()
http://de.selfhtml.org/diverses/mimetypen.htm. |
TargetFormatType |
getType()
Getter for the target format type.
|
int |
hashCode() |
String |
toString() |
public TargetFormat(String extension, TargetFormatType type, String mimetype)
extension - the extensiontype - the typemimetype - the mimetypepublic TargetFormat add(String mimetype)
mimetype - the mimetype to addpublic String getExtension()
getExtension in interface FormatString.Format.getExtension()public TargetFormatType getType()
TargetFormatType instance.public String getMimetype()
getMimetype in interface FormatFormat.getMimetype()public Set<String> getMimetypes()
http://de.selfhtml.org/diverses/mimetypen.htm.getMimetypes in interface FormatSet of Sting representations.Format.getMimetypes()public int hashCode()
hashCode in class ObjectObject.hashCode()public boolean equals(Object obj)
equals in class ObjectObject.equals(java.lang.Object)public String toString()
toString in class ObjectObject.toString()Copyright © 2020 Hyland Software Germany GmbH. All rights reserved.