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

org.cloudfoundry.multiapps.controller.persistence.services.FileContentConsumer Maven / Gradle / Ivy

package org.cloudfoundry.multiapps.controller.persistence.services;

import java.io.IOException;
import java.io.InputStream;

/**
 * An interface for consuming the content of a file.
 *
 */
public interface FileContentConsumer {

    /**
     * Consume the content of a file.
     *
     * @param inputStream an input stream representing the file content
     * @throws IOException in case of read/write error
     */
    void consume(InputStream inputStream) throws IOException;

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy