public class Importer
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
acqRegEx
The Acquisition regex.
|
static java.lang.String |
bfRegEx
The Bright Field regex.
|
static java.lang.String |
blueRegEx
The Blue channel regex.
|
static java.lang.String |
greenRegEx
The Green channel regex.
|
static java.lang.String |
redRegEx
The Red channel regex.
|
Constructor and Description |
---|
Importer(DatabaseModel model)
Instantiates a new importer.
|
Modifier and Type | Method and Description |
---|---|
void |
importExperiment(java.io.File folder,
boolean isTimeSampling)
For a given root (node) and folder this method will import experiments.
|
void |
importFieldOfViews(Sample sample)
Import field of views.
|
void |
importFile(Node node,
java.io.File file) |
void |
importFile(Node node,
java.io.File file,
java.lang.String channel,
java.lang.String name,
java.lang.String path) |
void |
importFiles(Node fieldOfView)
Import files.
|
void |
importSamples(Experiment experiment)
Import samples.
|
public static java.lang.String acqRegEx
public static java.lang.String bfRegEx
public static java.lang.String redRegEx
public static java.lang.String greenRegEx
public static java.lang.String blueRegEx
public Importer(DatabaseModel model)
model
- the modelpublic void importExperiment(java.io.File folder, boolean isTimeSampling)
folder
- the folder from which all samples are importedisTimeSampling
- determines if this experiment is time lapse or notpublic void importSamples(Experiment experiment)
experiment
- the experimentpublic void importFieldOfViews(Sample sample)
sample
- the samplepublic void importFiles(Node fieldOfView)
fieldOfView
- the field of viewpublic void importFile(Node node, java.io.File file)
public void importFile(Node node, java.io.File file, java.lang.String channel, java.lang.String name, java.lang.String path)