Package loci.plugins.in
Class ImportProcess
java.lang.Object
loci.plugins.in.ImportProcess
- All Implemented Interfaces:
StatusReporter
Manages the import preparation process.
After calling
execute(), the process will be ready to feed to
an ImagePlusReader to read in the actual ImagePlus
objects.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidcancel()Cancels the import process.booleanexecute()Performs the import preparation process, notifying status listeners at each step.Valid only afterImportStep.READER.intgetCBegin(int s) intgetCCount(int s) Valid only afterImportStep.SERIES.intgetCEnd(int s) Valid only afterImportStep.STACK.Valid only afterImportStep.STACK.Valid only afterImportStep.STACK.getCropRegion(int s) Valid only afterImportStep.STACK.intgetCStep(int s) Valid only afterImportStep.STACK.Valid only afterImportStep.STACK.Valid only afterImportStep.STACK.Valid only afterImportStep.READER.Valid only afterImportStep.READER.Valid only afterImportStep.READER.longGets a projection of required memory in bytes.Valid only afterImportStep.STACK.Valid only afterImportStep.READER.Valid only afterImportStep.READER.Valid only afterImportStep.METADATA.Valid only afterImportStep.STACK.intValid only afterImportStep.STACK.getSeriesLabel(int s) Valid only afterImportStep.STACK.Valid only afterImportStep.STACK.intgetTBegin(int s) intgetTCount(int s) Valid only afterImportStep.SERIES.intgetTEnd(int s) Valid only afterImportStep.STACK.intgetTStep(int s) Valid only afterImportStep.STACK.intgetZBegin(int s) intgetZCount(int s) Valid only afterImportStep.SERIES.intgetZEnd(int s) Valid only afterImportStep.STACK.intgetZStep(int s) booleanvoidvoidvoidsetSeriesList(String seriesList) booleanGets whether the import process was canceled.
-
Field Details
-
idName
-
idLoc
-
meta
-
-
Constructor Details
-
ImportProcess
- Throws:
IOException
-
ImportProcess
-
-
Method Details
-
execute
Performs the import preparation process, notifying status listeners at each step.- Returns:
- true if the preparation process completed successfully.
- Throws:
loci.formats.FormatExceptionIOException
-
cancel
public void cancel()Cancels the import process. -
wasCanceled
public boolean wasCanceled()Gets whether the import process was canceled. -
getOptions
-
isWindowless
public boolean isWindowless() -
setSeriesList
-
getBaseReader
Valid only afterImportStep.READER. -
getImageReader
Valid only afterImportStep.READER. -
getIdName
Valid only afterImportStep.READER. -
getIdLocation
Valid only afterImportStep.READER. -
getOMEMetadata
Valid only afterImportStep.READER. -
getOMEXML
Valid only afterImportStep.READER. -
getFileStitcher
Valid only afterImportStep.STACK. -
getChannelFiller
Valid only afterImportStep.STACK. -
getChannelSeparator
Valid only afterImportStep.STACK. -
getDimensionSwapper
Valid only afterImportStep.STACK. -
getMinMaxCalculator
Valid only afterImportStep.STACK. -
getVirtualReader
Valid only afterImportStep.STACK. -
getReader
Valid only afterImportStep.STACK. -
getCurrentFile
Valid only afterImportStep.STACK. -
getSeriesCount
public int getSeriesCount()Valid only afterImportStep.STACK. -
getSeriesLabel
Valid only afterImportStep.STACK. -
getStackOrder
Valid only afterImportStep.STACK. -
getCBegin
public int getCBegin(int s) -
getCEnd
public int getCEnd(int s) Valid only afterImportStep.STACK. -
getCStep
public int getCStep(int s) -
getZBegin
public int getZBegin(int s) -
getZEnd
public int getZEnd(int s) Valid only afterImportStep.STACK. -
getZStep
public int getZStep(int s) -
getTBegin
public int getTBegin(int s) -
getTEnd
public int getTEnd(int s) Valid only afterImportStep.STACK. -
getTStep
public int getTStep(int s) -
getCropRegion
Valid only afterImportStep.STACK. -
getCCount
public int getCCount(int s) Valid only afterImportStep.SERIES. -
getZCount
public int getZCount(int s) Valid only afterImportStep.SERIES. -
getTCount
public int getTCount(int s) Valid only afterImportStep.SERIES. -
getMemoryUsage
public long getMemoryUsage()Gets a projection of required memory in bytes. Valid only afterImportStep.SERIES. -
getOriginalMetadata
Valid only afterImportStep.METADATA. -
addStatusListener
- Specified by:
addStatusListenerin interfaceStatusReporter
-
removeStatusListener
- Specified by:
removeStatusListenerin interfaceStatusReporter
-
notifyListeners
- Specified by:
notifyListenersin interfaceStatusReporter
-