Class UTF8Encoder
java.lang.Object
org.infinispan.commons.dataconversion.UTF8Encoder
- All Implemented Interfaces:
Encoder
Deprecated, for removal: This API element is subject to removal in a future version.
Since 12.1, to be removed in a future version.
Encoder to/from UTF-8 content using the java string encoding mechanism.
- Since:
- 9.1
-
Field Summary
Modifier and TypeFieldDescriptionstatic final UTF8Encoder
Deprecated, for removal: This API element is subject to removal in a future version. -
Constructor Summary
ConstructorDescriptionDeprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptionfromStorage
(Object stored) Deprecated, for removal: This API element is subject to removal in a future version.Convert from storage format to the read/write format.Deprecated, for removal: This API element is subject to removal in a future version.Returns theMediaType
produced by this encoder or null if the storage format is not known.short
id()
Deprecated, for removal: This API element is subject to removal in a future version.Each encoder is associated with an unique id in order to optimize serialization.boolean
Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.Convert data in the read/write format to the storage format.
-
Field Details
-
INSTANCE
Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Constructor Details
-
UTF8Encoder
public UTF8Encoder()Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Method Details
-
toStorage
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:Encoder
Convert data in the read/write format to the storage format. -
fromStorage
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:Encoder
Convert from storage format to the read/write format.- Specified by:
fromStorage
in interfaceEncoder
- Parameters:
stored
- data as stored in the cache, never null.- Returns:
- data in the read/write format
-
isStorageFormatFilterable
public boolean isStorageFormatFilterable()Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
isStorageFormatFilterable
in interfaceEncoder
- Returns:
- if true, will perform stream and related operation in the storage format.
-
getStorageFormat
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:Encoder
Returns theMediaType
produced by this encoder or null if the storage format is not known.- Specified by:
getStorageFormat
in interfaceEncoder
-
id
public short id()Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:Encoder
Each encoder is associated with an unique id in order to optimize serialization. Known ids are kept inEncoderIds
.
-