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 Format
String
.Format.getExtension()
public TargetFormatType getType()
TargetFormatType
instance.public String getMimetype()
getMimetype
in interface Format
Format.getMimetype()
public Set<String> getMimetypes()
http://de.selfhtml.org/diverses/mimetypen.htm
.getMimetypes
in interface Format
Set
of Sting
representations.Format.getMimetypes()
public int hashCode()
hashCode
in class Object
Object.hashCode()
public boolean equals(Object obj)
equals
in class Object
Object.equals(java.lang.Object)
public String toString()
toString
in class Object
Object.toString()
Copyright © 2016 SAPERION AG. All rights reserved.