1
|
|
2
|
/**
|
3
|
* The interface, which is implemented by Window and CLI, is used to transfer
|
4
|
* results from the conversion thread to the user interface (UI).
|
5
|
*/
|
6
|
public interface IConversionResults {
|
7
|
|
8
|
/**
|
9
|
* This method is used when an input read error occurs.
|
10
|
*/
|
11
|
public void loadingInputFileError();
|
12
|
|
13
|
/**
|
14
|
*
|
15
|
* This method is used to transfer the resulting JSON to the user interface. It
|
16
|
* also transmits the extracted input content (file, query).
|
17
|
*
|
18
|
* @param json the resulting JSON. It is null when a jdeserialize error
|
19
|
* occurs.
|
20
|
* @param loaded extracted input content. It is null if an input read error
|
21
|
* occurs.
|
22
|
*/
|
23
|
public void completed(String json, String loaded);
|
24
|
|
25
|
}
|