- All Known Implementing Classes:
TextMapFileHandler
public interface IMapFileHandler
- Since:
- 1.14
- Author:
- Reiner Jung
-
Method Summary
Modifier and Type |
Method |
Description |
void |
add(int id,
java.lang.String eventClassName) |
Add a key value pair to the file.
|
void |
close() |
Close the mapping file.
|
void |
create(java.nio.file.Path location,
java.nio.charset.Charset charset) |
Create a map file with the given name and location adhering to the given charset.
|
-
Method Details
-
void create(java.nio.file.Path location,
java.nio.charset.Charset charset)
Create a map file with the given name and location adhering to the given charset.
- Parameters:
location
- complete path for the map file including its name
charset
- character set to be used for the file
- Since:
- 1.14
-
void close()
Close the mapping file.
- Since:
- 1.14
-
void add(int id,
java.lang.String eventClassName)
Add a key value pair to the file.
- Parameters:
id
- class id
eventClassName
- name of the event class
- Since:
- 1.14