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, savegetHandler, getInstances, supportscreate, filterInstances, getInstance, initialize, objectServicefindgetPlugins, getPluginService, pluginServiceregisterEventHandlersgetIdentifier, logcontext, getContext, setContextcompareTo, getPriority, setPrioritygetInfo, setInfogetLocationgetVersiondisposedefault Table<?,?> open(Location source) throws IOException
TypedIOService
The opener to use is automatically determined based on available
IOPlugins; 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
IOExceptionTable<?,?> open(Location source, TableIOOptions options) throws IOException
IOExceptiondefault void save(Table<?,?> table, Location destination) throws IOException
TypedIOService
The saver to use is automatically determined based on available
IOPlugins; 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
IOExceptionvoid save(Table<?,?> table, Location destination, TableIOOptions options) throws IOException
IOExceptionCopyright © 2015–2022 SciJava. All rights reserved.