blob: c53593d055b4a66b709e44ea32f81ee66811b4c6 (
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.IMapper;
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 IMapper}.
* @param mapper the mapper
* @param writer the writer
* @param args various arguments which the writers may need
*/
void write(IMapper mapper, PrintWriter writer, String... args);
}
|