public interface TableIOService extends TypedIOService<Table<?,?>>
Modifier and Type | Method and Description |
---|---|
default Table<?,?> |
open(Location source)
Loads data from the given location.
|
Table<?,?> |
open(Location source,
TableIOOptions options) |
Table<?,?> |
open(String source,
TableIOOptions options) |
default void |
save(Table<?,?> table,
Location destination)
Saves data to the given location.
|
void |
save(Table<?,?> table,
Location destination,
TableIOOptions options) |
void |
save(Table<?,?> table,
String destination,
TableIOOptions options) |
canOpen, canOpen, canSave, canSave, getOpener, getOpener, getPluginType, getSaver, getSaver, getType, open, save
getHandler, getInstances, supports
create, filterInstances, getInstance, initialize, objectService
find
getPlugins, getPluginService, pluginService
registerEventHandlers
getIdentifier, log
context, getContext, setContext
compareTo, getPriority, setPriority
getInfo, setInfo
getLocation
getVersion
dispose
default Table<?,?> open(Location source) throws IOException
TypedIOService
The opener to use is automatically determined based on available
IOPlugin
s; see TypedIOService.getOpener(Location)
.
open
in interface TypedIOService<Table<?,?>>
source
- The location from which to data should be loaded.IOException
- if something goes wrong loading the data.Table<?,?> open(String source, TableIOOptions options) throws IOException
IOException
Table<?,?> open(Location source, TableIOOptions options) throws IOException
IOException
default void save(Table<?,?> table, Location destination) throws IOException
TypedIOService
The saver to use is automatically determined based on available
IOPlugin
s; see TypedIOService.getSaver(Object, Location)
.
save
in interface TypedIOService<Table<?,?>>
table
- The data to be saved to the destination.destination
- The destination location to which data should be saved.IOException
- if something goes wrong saving the data.void save(Table<?,?> table, String destination, TableIOOptions options) throws IOException
IOException
void save(Table<?,?> table, Location destination, TableIOOptions options) throws IOException
IOException
Copyright © 2015–2022 SciJava. All rights reserved.