public class QueryIOManager extends Object
| Constructor and Description |
|---|
QueryIOManager(QueryController controller)
Create an IO manager for saving/loading the user-defined queries
|
| Modifier and Type | Method and Description |
|---|---|
void |
load(File file)
The load/write operation
|
void |
load(String fileLocation)
The load/write operation
|
void |
save(File file)
The save/write operation.
|
void |
save(String fileLocation)
The save/write operation.
|
public QueryIOManager(QueryController controller)
controller - public void save(String fileLocation) throws IOException
fileLocation - The target file location to which the queries are saved.IOExceptionpublic void save(File file) throws IOException
file - The target file object to which the queries are saved.IOExceptionpublic void load(String fileLocation) throws IOException
fileLocation - The target file location from which the saved queries are loaded.IOExceptionpublic void load(File file) throws IOException
file - The target file object from which the saved queries are loaded.IOExceptionCopyright © 2009–2020 Free University of Bozen-Bolzano. All rights reserved.