-
- All Implemented Interfaces:
Groupable,HasFormat,HasSource,SCIFIOPlugin,Comparable<org.scijava.Prioritized>,org.scijava.Contextual,org.scijava.Identifiable,org.scijava.Locatable,org.scijava.log.Logged,org.scijava.plugin.HasPluginInfo,org.scijava.plugin.RichPlugin,org.scijava.plugin.SciJavaPlugin,org.scijava.Prioritized,org.scijava.Versioned
- Direct Known Subclasses:
AbstractParser,AbstractReader
public abstract class AbstractGroupable extends AbstractHasSource implements Groupable
Abstract super-class for allGroupablecomponents.- Author:
- Mark Hiner
- See Also:
Groupable
-
-
Constructor Summary
Constructors Constructor Description AbstractGroupable()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intfileGroupOption(org.scijava.io.location.Location id)Returns an int indicating that we cannot, must, or might group the files in a given dataset.booleanhasCompanionFiles()Returns true if this format supports multi-file datasets.booleanisSingleFile(org.scijava.io.location.Location id)Returns true if this is a single-file format.-
Methods inherited from class io.scif.AbstractHasSource
close
-
Methods inherited from class io.scif.AbstractHasFormat
asBrowsableLocation, asBrowsableLocation, getFormat, getFormatName
-
Methods inherited from class io.scif.AbstractSCIFIOPlugin
getVersion, log
-
Methods inherited from class org.scijava.plugin.AbstractRichPlugin
getInfo, getPriority, setInfo, setPriority, toString
-
Methods inherited from class org.scijava.AbstractContextual
context, getContext
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.scijava.Contextual
context, getContext, setContext
-
Methods inherited from interface org.scijava.plugin.HasPluginInfo
getInfo, setInfo
-
Methods inherited from interface org.scijava.Locatable
getLocation
-
Methods inherited from interface org.scijava.Prioritized
compareTo, getPriority, setPriority
-
Methods inherited from interface org.scijava.plugin.RichPlugin
getIdentifier
-
Methods inherited from interface io.scif.SCIFIOPlugin
getVersion, log
-
-
-
-
Method Detail
-
fileGroupOption
public int fileGroupOption(org.scijava.io.location.Location id) throws FormatException, IOException
Description copied from interface:GroupableReturns an int indicating that we cannot, must, or might group the files in a given dataset.- Specified by:
fileGroupOptionin interfaceGroupable- Throws:
FormatExceptionIOException
-
isSingleFile
public boolean isSingleFile(org.scijava.io.location.Location id) throws FormatException, IOException
Description copied from interface:GroupableReturns true if this is a single-file format.- Specified by:
isSingleFilein interfaceGroupable- Throws:
FormatExceptionIOException
-
hasCompanionFiles
public boolean hasCompanionFiles()
Description copied from interface:GroupableReturns true if this format supports multi-file datasets.- Specified by:
hasCompanionFilesin interfaceGroupable
-
-