public interface DataManager
Modifier and Type | Method and Description |
---|---|
void |
exportData(OutputStream outputStream)
Export all data of the application as a stream.
|
void |
exportData(OutputStream outputStream,
String group)
Export data from one specified group as a stream.
|
void |
exportData(OutputStream outputStream,
String group,
String name)
Export a specified data set as a stream.
|
void |
importData(InputStream inputStream)
Import data in the application from a stream.
|
void |
importData(InputStream inputStream,
String group)
Import data from one specified group, ignoring other data.
|
void |
importData(InputStream inputStream,
String group,
String name)
Import data from the specified data set, ignoring other data.
|
boolean |
isInitialized(String group,
String name)
Returns if a particular data set is already initialized in the application.
|
void exportData(OutputStream outputStream)
outputStream
- the stream to output data to.void exportData(OutputStream outputStream, String group)
outputStream
- the stream to output data to.group
- the data group.void exportData(OutputStream outputStream, String group, String name)
outputStream
- the stream to output data to.group
- the data group.name
- the data name.void importData(InputStream inputStream)
inputStream
- the stream to read data from.void importData(InputStream inputStream, String group)
inputStream
- the stream to read data from.group
- the data group.void importData(InputStream inputStream, String group, String name)
inputStream
- the stream to read data from.group
- the data group.name
- the data name.boolean isInitialized(String group, String name)
group
- the data group.name
- the data name.Copyright © 2013-2018–2019 SeedStack. All rights reserved.