Interface CodecProvider
-
- All Known Implementing Classes:
DefaultCodecProvider
public interface CodecProviderInterface for a provider which can generate CodecHandlers for various types of database encodings. TheDefaultCodecProvideris the default implementation of this inferface, but it does not have any actual encoding/decoding support (due to possible export issues with calling encryption APIs). See the separate Jackcess Encrypt project for an implementation of this interface which supports various access database encryption types.- Author:
- James Ahlborn
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CodecHandlercreateHandler(PageChannel channel, Charset charset)Returns a new CodecHandler for the database associated with the given PageChannel.
-
-
-
Method Detail
-
createHandler
CodecHandler createHandler(PageChannel channel, Charset charset) throws IOException
Returns a new CodecHandler for the database associated with the given PageChannel.- Parameters:
channel- the PageChannel for a Databasecharset- the Charset for the Database- Returns:
- a new CodecHandler, may not be
null - Throws:
IOException
-
-