public class PNGImageCell extends DataCell implements PNGImageValue
Modifier and Type | Class and Description |
---|---|
static class |
PNGImageCell.PNGSerializer
Serializer for
PNGImageCell . |
PNGImageValue.ImageCellUtilityFactory
ImageValue.ImageValueUtilityFactory
DataValue.UtilityFactory
UTILITY
Constructor and Description |
---|
PNGImageCell(PNGImageContent content)
Package scope method to create PNG image cell.
|
Modifier and Type | Method and Description |
---|---|
protected boolean |
equalContent(DataValue otherValue)
This method is called when two cell of different classes but with the same preferred value are compared (e.g.
|
protected boolean |
equalsDataCell(DataCell dc)
Derived classes implement their specific equals function here.
|
static DataCellSerializer<PNGImageCell> |
getCellSerializer()
Deprecated.
use
DataTypeRegistry.getSerializer(Class) instead |
PNGImageContent |
getImageContent()
Get content of this image.
|
String |
getImageExtension() |
int |
hashCode()
This method must be implemented in order to ensure that two equal
DataCell objects return the same hash code. |
String |
toString()
Returns the String representation of this cell's value.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
equalContent
PNGImageCell(PNGImageContent content)
PNGImageContent.toImageCell()
method.content
- The content to wrap.@Deprecated public static DataCellSerializer<PNGImageCell> getCellSerializer()
DataTypeRegistry.getSerializer(Class)
insteadpublic PNGImageContent getImageContent()
getImageContent
in interface ImageValue
getImageContent
in interface PNGImageValue
public String toString()
protected boolean equalsDataCell(DataCell dc)
null
or a missing value,
to be of the same class like this.equalsDataCell
in class DataCell
dc
- the cell to compare this totrue
if this is equal to the argument,
false
if notprotected boolean equalContent(DataValue otherValue)
false
.equalContent
in class DataCell
otherValue
- the other data valuetrue
if the content of both cells is the same, false
otherwisepublic int hashCode()
DataCell
objects return the same hash code. Note that two cells can be equal according to
DataCell.equalsDataCell(DataCell)
and DataCell.equalContent(DataValue)
so two different cells implementations
with the same preferred value must have the same hash code.hashCode
in class DataCell
DataCell
Object.hashCode()
,
DataCell.equals(java.lang.Object)
public String getImageExtension()
getImageExtension
in interface ImageValue
KNIME GmbH, Konstanz, Germany
You may not modify, publish, transmit, transfer or sell, reproduce, create derivative works from, distribute, perform, display, or in any way exploit any of the content, in whole or in part, except as otherwise expressly permitted in writing by the copyright owner or as specified in the license file distributed with this product.