public class ImportProcess extends java.lang.Object implements StatusReporter
execute()
, the process will be ready to feed to
an ImagePlusReader
to read in the actual ImagePlus
objects.
Modifier and Type | Field and Description |
---|---|
protected Location |
idLoc |
protected java.lang.String |
idName |
protected IMetadata |
meta |
Constructor and Description |
---|
ImportProcess() |
ImportProcess(ImporterOptions options) |
Modifier and Type | Method and Description |
---|---|
void |
addStatusListener(StatusListener l) |
void |
cancel()
Cancels the import process.
|
boolean |
execute()
Performs the import preparation process,
notifying status listeners at each step.
|
IFormatReader |
getBaseReader()
Valid only after
ImportStep.READER . |
int |
getCBegin(int s) |
int |
getCCount(int s)
Valid only after
ImportStep.SERIES . |
int |
getCEnd(int s)
Valid only after
ImportStep.STACK . |
ChannelFiller |
getChannelFiller()
Valid only after
ImportStep.STACK . |
ChannelSeparator |
getChannelSeparator()
Valid only after
ImportStep.STACK . |
Region |
getCropRegion(int s)
Valid only after
ImportStep.STACK . |
int |
getCStep(int s) |
java.lang.String |
getCurrentFile()
Valid only after
ImportStep.STACK . |
DimensionSwapper |
getDimensionSwapper()
Valid only after
ImportStep.STACK . |
FileStitcher |
getFileStitcher()
Valid only after
ImportStep.STACK . |
Location |
getIdLocation()
Valid only after
ImportStep.READER . |
java.lang.String |
getIdName()
Valid only after
ImportStep.READER . |
ImageReader |
getImageReader()
Valid only after
ImportStep.READER . |
long |
getMemoryUsage()
Gets a projection of required memory in bytes.
|
MinMaxCalculator |
getMinMaxCalculator()
Valid only after
ImportStep.STACK . |
IMetadata |
getOMEMetadata()
Valid only after
ImportStep.READER . |
java.lang.String |
getOMEXML()
Valid only after
ImportStep.READER . |
ImporterOptions |
getOptions() |
ImporterMetadata |
getOriginalMetadata()
Valid only after
ImportStep.METADATA . |
ImageProcessorReader |
getReader()
Valid only after
ImportStep.STACK . |
int |
getSeriesCount()
Valid only after
ImportStep.STACK . |
java.lang.String |
getSeriesLabel(int s)
Valid only after
ImportStep.STACK . |
java.lang.String |
getStackOrder()
Valid only after
ImportStep.STACK . |
int |
getTBegin(int s) |
int |
getTCount(int s)
Valid only after
ImportStep.SERIES . |
int |
getTEnd(int s)
Valid only after
ImportStep.STACK . |
int |
getTStep(int s) |
VirtualReader |
getVirtualReader()
Valid only after
ImportStep.STACK . |
int |
getZBegin(int s) |
int |
getZCount(int s)
Valid only after
ImportStep.SERIES . |
int |
getZEnd(int s)
Valid only after
ImportStep.STACK . |
int |
getZStep(int s) |
boolean |
isWindowless() |
void |
notifyListeners(StatusEvent e) |
void |
removeStatusListener(StatusListener l) |
void |
setSeriesList(java.lang.String seriesList) |
boolean |
wasCanceled()
Gets whether the import process was canceled.
|
protected java.lang.String idName
protected Location idLoc
protected IMetadata meta
public ImportProcess() throws java.io.IOException
java.io.IOException
public ImportProcess(ImporterOptions options)
public boolean execute() throws FormatException, java.io.IOException
FormatException
java.io.IOException
public void cancel()
public boolean wasCanceled()
public ImporterOptions getOptions()
public boolean isWindowless()
public void setSeriesList(java.lang.String seriesList)
public IFormatReader getBaseReader()
ImportStep.READER
.public ImageReader getImageReader()
ImportStep.READER
.public java.lang.String getIdName()
ImportStep.READER
.public Location getIdLocation()
ImportStep.READER
.public IMetadata getOMEMetadata()
ImportStep.READER
.public java.lang.String getOMEXML()
ImportStep.READER
.public FileStitcher getFileStitcher()
ImportStep.STACK
.public ChannelFiller getChannelFiller()
ImportStep.STACK
.public ChannelSeparator getChannelSeparator()
ImportStep.STACK
.public DimensionSwapper getDimensionSwapper()
ImportStep.STACK
.public MinMaxCalculator getMinMaxCalculator()
ImportStep.STACK
.public VirtualReader getVirtualReader()
ImportStep.STACK
.public ImageProcessorReader getReader()
ImportStep.STACK
.public java.lang.String getCurrentFile()
ImportStep.STACK
.public int getSeriesCount()
ImportStep.STACK
.public java.lang.String getSeriesLabel(int s)
ImportStep.STACK
.public java.lang.String getStackOrder()
ImportStep.STACK
.public int getCBegin(int s)
public int getCEnd(int s)
ImportStep.STACK
.public int getCStep(int s)
public int getZBegin(int s)
public int getZEnd(int s)
ImportStep.STACK
.public int getZStep(int s)
public int getTBegin(int s)
public int getTEnd(int s)
ImportStep.STACK
.public int getTStep(int s)
public Region getCropRegion(int s)
ImportStep.STACK
.public int getCCount(int s)
ImportStep.SERIES
.public int getZCount(int s)
ImportStep.SERIES
.public int getTCount(int s)
ImportStep.SERIES
.public long getMemoryUsage()
ImportStep.SERIES
.public ImporterMetadata getOriginalMetadata()
ImportStep.METADATA
.public void addStatusListener(StatusListener l)
addStatusListener
in interface StatusReporter
public void removeStatusListener(StatusListener l)
removeStatusListener
in interface StatusReporter
public void notifyListeners(StatusEvent e)
notifyListeners
in interface StatusReporter
Copyright © 2014 Open Microscopy Environment