blob: 307e3065512d131f1af19fb620491749dbe6c168 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
package ftbsc.lll.mapper.writer;
import ftbsc.lll.mapper.utils.Mapper;
import java.io.PrintWriter;
/**
* The common interface for all mapping writers.
*/
public interface IWriter {
/**
* @return a unique identifier for this writer
*/
String uniqueId();
/**
* Writes in a {@link PrintWriter} the contents of a {@link Mapper}.
* @param mapper the mapper
* @param writer the writer
* @param args various arguments which the writers may need
*/
void write(Mapper mapper, PrintWriter writer, String... args);
}
|