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

name.remal.gradle_plugins.toolkit.classpath.ResourceInputStreamOpener Maven / Gradle / Ivy

There is a newer version: 0.64.12
Show newest version
package name.remal.gradle_plugins.toolkit.classpath;

import com.google.errorprone.annotations.MustBeClosed;
import java.io.File;
import java.io.InputStream;

@FunctionalInterface
public interface ResourceInputStreamOpener {

    /**
     * 

Opens {@link InputStream} for the resource.

*

{@link InputStream} can be opened only once.

*

Can't be used outside of {@link ClassProcessor#process(File, String, ResourceInputStreamOpener)} and * {@link ResourceProcessor#process(File, String, ResourceInputStreamOpener)}.

*/ @MustBeClosed InputStream openStream(); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy