package org.ebookdroid.core.codec; import android.graphics.Bitmap; public interface CodecContext extends CodecFeatures { /** * Open appropriate document * * @param fileName * document file name * @param password * optional document password * @return an instance of a document */ CodecDocument openDocument(String fileName, String password); /** * @return context handler */ long getContextHandle(); /** * Recycle instance. */ void recycle(); /** * @return <code>true</code> if instance has been recycled */ boolean isRecycled(); Bitmap.Config getBitmapConfig(); }