001package Torello.HTML.Tools.Images; 002 003import Torello.HTML.HTMLNode; 004import java.util.Vector; 005import java.util.function.Function; 006 007/** 008 * A functional-interface for returning the portion of the page that contains the list of 009 * images on the site - usually one line from the Node-Search Package classes. 010 * 011 * <BR /><BR />Should retrieve a sub-portion or sub-section of an HTML Page. This interface 012 * inherits Java's Simple {@code Function<T, U>} - where {@code 'T'} and {@code 'U'} are both of 013 * type {@code Vector<HTMLNode>}. In the Java-HTML JAR Library, a variable of type 014 * {@code Vector<HTMLNode>} is usually refered to as a <B>Vectorized-HTML</B>. 015 * 016 * <BR /><BR />The lamda-target method is simply named {@code 'apply'}, and accepts a single 017 * Vectorized-HTML parameter. This method should then extract a sub-section of that web-page 018 * which contains photos or pictures so that they may be downloaded and extracted. This extracted 019 * section should be returned from the lambda-target method. 020 */ 021@FunctionalInterface 022public interface SectionGet extends Function<Vector<HTMLNode>, Vector<HTMLNode>> 023{ 024 /** <EMBED CLASS='external-html' DATA-FILE-ID=SVUIDFI> */ 025 public static final long serialVersionUID = 1; 026}