Uses of Interface
org.aksw.commons.codec.entity.api.EntityCodec
Packages that use EntityCodec
Package
Description
-
Uses of EntityCodec in org.aksw.commons.codec.entity.api
Subinterfaces of EntityCodec in org.aksw.commons.codec.entity.apiModifier and TypeInterfaceDescriptioninterfaceA basic codec for entities (rather than streams).interfaceAn entity codec provides the metohds getEncoder and getDecoder.Classes in org.aksw.commons.codec.entity.api that implement EntityCodec -
Uses of EntityCodec in org.aksw.commons.codec.entity.impl
Classes in org.aksw.commons.codec.entity.impl that implement EntityCodec -
Uses of EntityCodec in org.aksw.commons.codec.entity.util
Methods in org.aksw.commons.codec.entity.util with parameters of type EntityCodecModifier and TypeMethodDescriptionstatic <T> TEntityCodecUtils.harmonize(T entity, EntityCodec<T> codec) Apply decoding to an entity (if applicable) then return the encoded entity Main use case is to remove non-canonical quotes from a strings and then return a new one with canonical quotes.static <T> TEntityCodecUtils.reencode(T entity, EntityCodec<T> decodec, EntityCodec<T> encodec) If the entity can be decoded with 'decoder' then do so and apply encoder.encode afterwards.Method parameters in org.aksw.commons.codec.entity.util with type arguments of type EntityCodecModifier and TypeMethodDescriptionstatic <T> TEntityCodecUtils.harmonize(T entity, Supplier<? extends EntityCodec<T>> codecSupplier) static <T> TEntityCodecUtils.reencode(T entity, Supplier<? extends EntityCodec<T>> decodecSupplier, Supplier<? extends EntityCodec<T>> encodecSupplier) -
Uses of EntityCodec in org.aksw.commons.codec.string.api
Subinterfaces of EntityCodec in org.aksw.commons.codec.string.api -
Uses of EntityCodec in org.aksw.commons.codec.string.impl
Classes in org.aksw.commons.codec.string.impl that implement EntityCodecModifier and TypeClassDescriptionclassclassStringCodec that prepends and appends a quote char to a given string and also escapes any occurrence of the quote char within the string with an escape char. -
Uses of EntityCodec in org.aksw.commons.codec.string.util
Methods in org.aksw.commons.codec.string.util that return EntityCodecModifier and TypeMethodDescriptionstatic EntityCodec<String> StringCodecUtils.createCodec(String quoteChar, String... dequoteChars) Create a string codec that encodes strings by prepending and appending a given quoteChar and which can decode by removing a certain set of given quote chars.