Add AddPeer command that adds a noderef from a file
[jFCPlib.git] / src / main / java / net / pterodactylus / fcp / quelaton / WithFile.java
1 package net.pterodactylus.fcp.quelaton;
2
3 import java.io.File;
4
5 /**
6  * An intermediary interface for FCP commands that require a file parameter.
7  *
8  * @param <R>
9  *      The type of the next command part
10  * @author <a href="mailto:bombe@freenetproject.org">David ‘Bombe’ Roden</a>
11  */
12 public interface WithFile<R> {
13
14         R withFile(File file);
15
16 }