1package org.tm.archive.util; 2 3import java.io.IOException; 4 5/** 6 * A function which takes 1 input and returns 1 output, and is capable of throwing an IO Exception. 7 */ 8public interface IOFunction<I, O> { 9 O apply(I input) throws IOException; 10}