blob: 2f0b77eb35bb5257733bb31f6785c4e17e40199e (
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.tools.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);
}
|