|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.aliasi.chunk.TagChunkCodecAdapters
public class TagChunkCodecAdapters
The TagChunkCodecAdapters class contains static utility methods for
adapting tagging handlers to chunking handlers and vice-versa using tag-chunk
codecs.
| Method Summary | |
|---|---|
static ObjectHandler<StringTagging> |
chunkingToStringTagging(TagChunkCodec codec,
ObjectHandler<Chunking> handler)
Return the string tagging handler that converts string taggings to chunkings. |
static ObjectHandler<Tagging<String>> |
chunkingToTagging(TagChunkCodec codec,
ObjectHandler<Chunking> handler)
Returns the tagging handler that converts taggings to chunkings using the specified codec. |
static ObjectHandler<Chunking> |
stringTaggingToChunking(TagChunkCodec codec,
ObjectHandler<StringTagging> handler)
Return the chunking handler that converts chunkings to taggings using the specified codec. |
static ObjectHandler<Chunking> |
taggingToChunking(TagChunkCodec codec,
ObjectHandler<Tagging<String>> handler)
Return the chunking handler that converts chunkings to simple taggings using the specified codec. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static ObjectHandler<Chunking> stringTaggingToChunking(TagChunkCodec codec,
ObjectHandler<StringTagging> handler)
codec - Tag chunk coder/decoder for converting chunkings
to string taggings.handler - Handler to receive string taggings corresponding
to chunkings.
public static ObjectHandler<Chunking> taggingToChunking(TagChunkCodec codec,
ObjectHandler<Tagging<String>> handler)
codec - Tag chunk coder/decoder for converting chunkings
to taggings.handler - Handler to receive string taggings corresponding
to chunkings.
public static ObjectHandler<StringTagging> chunkingToStringTagging(TagChunkCodec codec,
ObjectHandler<Chunking> handler)
codec - Tag-chunk coder/decoder for converting string
taggings to chunkings.handler - Handler to receive chunkings.
public static ObjectHandler<Tagging<String>> chunkingToTagging(TagChunkCodec codec,
ObjectHandler<Chunking> handler)
codec - Tag-chunk coder/decoder for converting string
taggings to chunkings.handler - Handler to receive chunkings.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||