All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.jpedal.io.filter.PdfFilter Maven / Gradle / Ivy

/*
 * ===========================================
 * Java Pdf Extraction Decoding Access Library
 * ===========================================
 *
 * Project Info:  http://www.idrsolutions.com
 * Help section for developers at http://www.idrsolutions.com/support/
 *
 * (C) Copyright 1997-2017 IDRsolutions and Contributors.
 *
 * This file is part of JPedal/JPDF2HTML5
 *
 @LICENSE@
 *
 * ---------------
 * PdfFilter.java
 * ---------------
 */
package org.jpedal.io.filter;

import java.io.BufferedInputStream;
import java.io.BufferedOutputStream;
import java.util.Map;

/**
 * Filters to decompress streams
 */
public interface PdfFilter {

    byte[] decode(byte[] data) throws Exception;

    void decode(BufferedInputStream bis, BufferedOutputStream streamCache, String cacheName, Map cachedObjects) throws Exception;

    boolean hasError();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy