package jakarta.mail.util;

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

/**
 * Support interface to generalize
 * code that loads resources from stream.
 */
public interface StreamLoader {
    void load(InputStream is) throws IOException;
}
