com.buck.common.codec
Class FastCodecProvider
java.lang.Object
com.buck.common.codec.spi.CodecProvider
com.buck.common.codec.FastCodecProvider
public class FastCodecProvider
- extends CodecProvider
Abstract base class for fast codec providers.
- Author:
- Robert J. Buck
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FastCodecProvider
protected FastCodecProvider(String pp,
Map<String,String> am,
Map<String,String> cm,
Map<String,Codec> c)
codecForName
public final Codec codecForName(String codecName)
- Description copied from class:
CodecProvider
- Retrieves a codec for the given codec name.
- Specified by:
codecForName in class CodecProvider
- Parameters:
codecName - The name of the requested codec; may be either
a canonical name or an alias
- Returns:
- A codec object for the named codec,
or null if the named codec
is not supported by this provider
codecs
public final Iterator<Codec> codecs()
- Description copied from class:
CodecProvider
- Creates an iterator that iterates over the codecs supported by this
provider. This method is used in the implementation of the
Codec.availableCodecs
method.
- Specified by:
codecs in class CodecProvider
- Returns:
- The new iterator
Copyright © 2013. All Rights Reserved.