public class ImportFixture
extends java.lang.Object
OMEROMetadataStoreClient
,
ExampleUnitTest
コンストラクタと説明 |
---|
ImportFixture(OMEROMetadataStoreClient store,
OMEROWrapper reader) |
修飾子とタイプ | メソッドと説明 |
---|---|
void |
doImport()
runs import by looping through all files and then calling:
ImportLibrary#open(String)
ImportLibrary#calculateImageCount(String)
ImportLibrary#importMetadata()
ImportLibrary#importData(long, String)
|
ImportFixture |
put(java.io.File file,
omero.model.Dataset ds) |
ImportFixture |
putAll(java.util.Map<java.io.File,omero.model.Dataset> map) |
void |
setUp()
checks for the necessary fields and initializes the
ImportLibrary |
void |
tearDown()
sets
ImportLibrary , OMEROMetadataStoreClient , and file array
to null. |
public ImportFixture(OMEROMetadataStoreClient store, OMEROWrapper reader)
public ImportFixture put(java.io.File file, omero.model.Dataset ds)
public ImportFixture putAll(java.util.Map<java.io.File,omero.model.Dataset> map)
public void setUp() throws java.lang.Exception
ImportLibrary
java.lang.Exception
public void tearDown()
ImportLibrary
, OMEROMetadataStoreClient
, and file array
to null. Also attempts to call FormatReader.close()
.public void doImport() throws java.lang.Throwable
ImportLibrary#open(String)
ImportLibrary#calculateImageCount(String)
ImportLibrary#importMetadata()
ImportLibrary#importData(long, String)
step
- an action to take per plane. not null.java.lang.Exception
java.lang.Throwable