summaryrefslogtreecommitdiff
path: root/clformat/src/main/java/bjc/utils/ioutils/format/directives/Edict.java
blob: 49ed4b184f428f3a024c723ccbca4af672e50b61 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
package bjc.utils.ioutils.format.directives;

import java.io.*;

/**
 *
 * The compiled equivalent of {@link Directive}.
 *
 * @author Ben Culkin.
 */
@FunctionalInterface
public interface Edict {
	/**
	 * Invoke this format directive.
	 *
	 * @param formCTX
	 *                The state needed for this invocation.
	 * @throws IOException Thrown if an I/O error happens.
	 */
	public void format(FormatContext formCTX) throws IOException;
}