public interface IFileInterpreter
Modifier and Type | Method and Description |
---|---|
void |
addFileInterpreterListener(IFileInterpreterListener listener)
Adds the given file interpreter listener to the file interpreter.
|
IAbstractFile |
getAbstractFile()
Returns the file that is associated with this file interpreter.
|
IFileInterpreterProvider |
getProvider()
Returns the provider that is responsible for this file interpreter.
|
void |
load()
Interpretes the assigned abstract file.
|
void |
removeFileInterpreterListener(IFileInterpreterListener listener)
Removes the given file interpreter listener from the file interpreter.
|
void |
save()
Saves the interpreted file to the real existing file.
|
IFileInterpreterProvider getProvider()
IAbstractFile getAbstractFile()
void load() throws FileInterpreterException
FileInterpreterException
- -
if the file cannot be loadedvoid save() throws FileInterpreterException
FileInterpreterException
- -
if the file cannot be savedvoid addFileInterpreterListener(IFileInterpreterListener listener)
listener
- the listener to notifyvoid removeFileInterpreterListener(IFileInterpreterListener listener)
listener
- the listener that should be removed