public class DefaultDatasetIOService extends org.scijava.service.AbstractService implements DatasetIOService
DatasetIOService implementation.| Constructor and Description |
|---|
DefaultDatasetIOService() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canOpen(org.scijava.io.location.Location source)
Determines whether the given source can be opened as a
Dataset
using the DatasetIOService.open(Location) method. |
boolean |
canOpen(String source)
Determines whether the given source can be opened as a
Dataset
using the DatasetIOService.open(Location) method. |
boolean |
canSave(org.scijava.io.location.Location destination)
Determines whether the given destination can be used to save a
Dataset using the DatasetIOService.save(Dataset, Location) method. |
net.imagej.Dataset |
open(org.scijava.io.location.Location source)
Loads a dataset from a source (such as a file on disk).
|
net.imagej.Dataset |
open(org.scijava.io.location.Location source,
SCIFIOConfig config)
As
DatasetIOService.open(Location), with the given
io.scif.config.SCIFIOConfig. |
net.imagej.Dataset |
open(String source) |
net.imagej.Dataset |
open(String source,
SCIFIOConfig config)
Loads a dataset from a source (such as a file on disk).
|
List<net.imagej.Dataset> |
openAll(org.scijava.io.location.Location source)
Load all the datasets from a given source.
|
List<net.imagej.Dataset> |
openAll(org.scijava.io.location.Location source,
SCIFIOConfig config)
As
DatasetIOService.openAll(Location), with a given
io.scif.config.SCIFIOConfig. |
List<net.imagej.Dataset> |
openAll(String source) |
List<net.imagej.Dataset> |
openAll(String source,
SCIFIOConfig config) |
Metadata |
save(net.imagej.Dataset dataset,
org.scijava.io.location.Location destination)
Saves a dataset to a destination (such as a file on disk).
|
Metadata |
save(net.imagej.Dataset dataset,
org.scijava.io.location.Location destination,
SCIFIOConfig config)
Saves a dataset to a destination (such as a file on disk).
|
Metadata |
save(net.imagej.Dataset dataset,
String destination)
Saves a dataset to a destination (such as a file on disk).
|
Metadata |
save(net.imagej.Dataset dataset,
String destination,
SCIFIOConfig config)
Saves a dataset to a destination (such as a file on disk).
|
getContext, setContext, toStringgetInfo, getPriority, setInfo, setPrioritycontextclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitinitialize, registerEventHandlersgetIdentifier, logcontext, getContext, setContextcompareTo, getPriority, setPrioritygetInfo, setInfogetLocationgetVersiondisposepublic boolean canOpen(org.scijava.io.location.Location source)
DatasetIOServiceDataset
using the DatasetIOService.open(Location) method.canOpen in interface DatasetIOServicepublic boolean canOpen(String source)
DatasetIOServiceDataset
using the DatasetIOService.open(Location) method.canOpen in interface DatasetIOServicepublic boolean canSave(org.scijava.io.location.Location destination)
DatasetIOServiceDataset using the DatasetIOService.save(Dataset, Location) method.canSave in interface DatasetIOServicepublic net.imagej.Dataset open(org.scijava.io.location.Location source) throws IOException
DatasetIOServiceopen in interface DatasetIOServiceIOExceptionpublic net.imagej.Dataset open(String source) throws IOException
open in interface DatasetIOServiceIOExceptionDatasetIOService.open(Location)public net.imagej.Dataset open(org.scijava.io.location.Location source, SCIFIOConfig config) throws IOException
DatasetIOServiceDatasetIOService.open(Location), with the given
io.scif.config.SCIFIOConfig.open in interface DatasetIOServiceIOExceptionpublic net.imagej.Dataset open(String source, SCIFIOConfig config) throws IOException
DatasetIOServiceopen in interface DatasetIOServiceIOExceptionpublic List<net.imagej.Dataset> openAll(org.scijava.io.location.Location source) throws IOException
DatasetIOServiceopenAll in interface DatasetIOServicesource - the source location of the imagesIOExceptionpublic List<net.imagej.Dataset> openAll(String source) throws IOException
openAll in interface DatasetIOServiceIOExceptionDatasetIOService.openAll(Location)public List<net.imagej.Dataset> openAll(String source, SCIFIOConfig config) throws IOException
openAll in interface DatasetIOServiceIOExceptionDatasetIOService.openAll(Location)public List<net.imagej.Dataset> openAll(org.scijava.io.location.Location source, SCIFIOConfig config) throws IOException
DatasetIOServiceDatasetIOService.openAll(Location), with a given
io.scif.config.SCIFIOConfig.openAll in interface DatasetIOServicesource - path on the diskconfig - SCIFIOConfig fileIOExceptionpublic Metadata save(net.imagej.Dataset dataset, String destination) throws IOException
DatasetIOServicesave in interface DatasetIOServicedataset - The dataset to save.destination - Where the dataset should be saved (e.g., a file path on
disk).IOExceptionpublic Metadata save(net.imagej.Dataset dataset, org.scijava.io.location.Location destination) throws IOException
DatasetIOServicesave in interface DatasetIOServicedataset - The dataset to save.destination - Where the dataset should be saved (e.g., a file path on
disk).IOExceptionpublic Metadata save(net.imagej.Dataset dataset, String destination, SCIFIOConfig config) throws IOException
DatasetIOServicesave in interface DatasetIOServicedataset - The dataset to save.destination - Where the dataset should be saved (e.g., a file path on
disk).config - The io.scif.config.SCIFIOConfig describing how the
data should be saved.IOExceptionpublic Metadata save(net.imagej.Dataset dataset, org.scijava.io.location.Location destination, SCIFIOConfig config) throws IOException
DatasetIOServicesave in interface DatasetIOServicedataset - The dataset to save.destination - Where the dataset should be saved (e.g., a file path on
disk).config - The io.scif.config.SCIFIOConfig describing how the
data should be saved.IOExceptionCopyright © 2011–2026 SCIFIO. All rights reserved.