APIdia Launch Partner
Top Description Methods
io.github.spannm.jackcess.impl

public Interface CodecProvider

Known Direct Implementers
io.github.spannm.jackcess.impl.DefaultCodecProvider
Imports
java.io.IOException, java.nio.charset.Charset

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.

Method Summary

Modifier and TypeMethod and Description
public CodecHandler

Returns:

a new CodecHandler, may not be null
createHandler
(PageChannel
the PageChannel for a Database
channel
,
Charset
the Charset for the Database
charset
)

Returns a new CodecHandler for the database associated with the given PageChannel.

Method Detail

createHandlerback to summary
public CodecHandler createHandler(PageChannel channel, Charset charset) throws IOException

Returns a new CodecHandler for the database associated with the given PageChannel.

Parameters
channel:PageChannel

the PageChannel for a Database

charset:Charset

the Charset for the Database

Returns:CodecHandler

a new CodecHandler, may not be null