com.healthmarketscience.jackcess.impl
Interface CodecProvider

All Known Implementing Classes:
DefaultCodecProvider

public interface CodecProvider

Interface for a provider which can generate CodecHandlers for various types of database encodings. The DefaultCodecProvider is 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
 CodecHandler createHandler(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 Database
charset - the Charset for the Database
Returns:
a new CodecHandler, may not be null
Throws:
IOException


Copyright © 2005–2017 Health Market Science. All rights reserved.