public class ImportContainer
extends java.lang.Object
Constructor and Description |
---|
ImportContainer(java.io.File file,
omero.model.IObject target,
java.lang.Double[] userPixels,
java.lang.String reader,
java.lang.String[] usedFiles,
java.lang.Boolean isSPW) |
ImportContainer(ImportConfig config,
java.io.File file,
omero.model.IObject target,
java.lang.Double[] userPixels,
java.lang.String reader,
java.lang.String[] usedFiles,
java.lang.Boolean isSPW) |
Modifier and Type | Method and Description |
---|---|
void |
fillData(ImportConfig config,
omero.grid.ImportSettings settings,
omero.model.Fileset fs,
ClientFilePathTransformer sanitizer) |
void |
fillData(ImportConfig config,
omero.grid.ImportSettings settings,
omero.model.Fileset fs,
ClientFilePathTransformer sanitizer,
FileTransfer transfer) |
void |
fillData(omero.grid.ImportSettings settings,
omero.model.Fileset fs,
ClientFilePathTransformer sanitizer) |
void |
fillData(omero.grid.ImportSettings settings,
omero.model.Fileset fs,
ClientFilePathTransformer sanitizer,
FileTransfer transfer) |
java.lang.String |
getChecksumAlgorithm() |
java.util.List<omero.model.Annotation> |
getCustomAnnotationList()
The list of custom, user specified, annotations to link to all images
represented by this container.
|
boolean |
getDoThumbnails()
Retrieves whether or not we are performing thumbnail creation upon
import completion.
|
java.io.File |
getFile() |
java.lang.Boolean |
getIsSPW()
Return true if this import container contains a Screen/Plate/Well image
group.
|
boolean |
getNoStatsInfo()
Retrieves whether or not we disabling
StatsInfo population. |
java.lang.String |
getReader()
Return the reader class name used for reading the contents of this
import container.
|
omero.model.IObject |
getTarget() |
java.lang.String[] |
getUsedFiles()
Return a list of file names that belong to this import container.
|
long |
getUsedFilesTotalSize()
Returns the total size in bytes (based on
File.length() )
of all files in this import container. |
java.lang.Double[] |
getUserPixels() |
java.lang.String |
getUserSpecifiedDescription()
Retrieves the current custom image/plate description string.
|
java.lang.String |
getUserSpecifiedName()
Retrieves the current custom image/plate name string.
|
void |
setChecksumAlgorithm(java.lang.String ca) |
void |
setCustomAnnotationList(java.util.List<omero.model.Annotation> v)
Sets the list of custom, user specified, annotations to link to all
images represented by this container.
|
void |
setDoThumbnails(boolean v)
Sets whether or not we are performing thumbnail creation upon import
completion.
|
void |
setIsSPW(java.lang.Boolean isSPW)
Set true if the import container is filled in with a Screen/Plate/Well
image structure.
|
void |
setNoStatsInfo(boolean v)
Sets whether or not we disabling
StatsInfo population. |
void |
setReader(java.lang.String reader)
Sets the reader class name used for reading the contents of this
import container.
|
void |
setTarget(omero.model.IObject obj) |
void |
setUsedFiles(java.lang.String[] usedFiles)
Set the list of image file names that belong to this import container.
|
void |
setUserPixels(java.lang.Double[] userPixels) |
void |
setUserSpecifiedDescription(java.lang.String v)
Sets the custom image/plate description for import.
|
void |
setUserSpecifiedName(java.lang.String v)
Sets the custom image/plate name for import.
|
void |
updateUsedFilesTotalSize() |
public ImportContainer(java.io.File file, omero.model.IObject target, java.lang.Double[] userPixels, java.lang.String reader, java.lang.String[] usedFiles, java.lang.Boolean isSPW)
public ImportContainer(ImportConfig config, java.io.File file, omero.model.IObject target, java.lang.Double[] userPixels, java.lang.String reader, java.lang.String[] usedFiles, java.lang.Boolean isSPW)
public boolean getDoThumbnails()
true
if we are to perform thumbnail creation and
false
otherwise.public void setDoThumbnails(boolean v)
v
- true
if we are to perform thumbnail creation and
false
otherwise.public boolean getNoStatsInfo()
StatsInfo
population.true
if we are to disable StatsInfo
population. false
otherwise.public void setNoStatsInfo(boolean v)
StatsInfo
population.v
- true
if we are to disable StatsInfo
population. false
otherwise.public java.lang.String getUserSpecifiedName()
null
if it has not been set.public void setUserSpecifiedName(java.lang.String v)
v
- A custom image/plate name to use for all entities represented
by this container.public java.lang.String getUserSpecifiedDescription()
null
if it has not been set.public void setUserSpecifiedDescription(java.lang.String v)
v
- A custom image/plate description to use for all images represented
by this container.public java.util.List<omero.model.Annotation> getCustomAnnotationList()
public void setCustomAnnotationList(java.util.List<omero.model.Annotation> v)
v
- The list of annotations to use.public java.lang.String getReader()
public void setReader(java.lang.String reader)
reader
- Bio-Formats reader class name.public java.lang.String[] getUsedFiles()
public void setUsedFiles(java.lang.String[] usedFiles)
usedFiles
- public long getUsedFilesTotalSize()
File.length()
)
of all files in this import container.public java.lang.Boolean getIsSPW()
public void setIsSPW(java.lang.Boolean isSPW)
isSPW
- True if container contains S/P/W, false otherwise.public java.io.File getFile()
public omero.model.IObject getTarget()
public void setTarget(omero.model.IObject obj)
public java.lang.Double[] getUserPixels()
public void setUserPixels(java.lang.Double[] userPixels)
public java.lang.String getChecksumAlgorithm()
public void setChecksumAlgorithm(java.lang.String ca)
public void fillData(omero.grid.ImportSettings settings, omero.model.Fileset fs, ClientFilePathTransformer sanitizer) throws java.io.IOException
java.io.IOException
public void fillData(omero.grid.ImportSettings settings, omero.model.Fileset fs, ClientFilePathTransformer sanitizer, FileTransfer transfer) throws java.io.IOException
java.io.IOException
public void fillData(ImportConfig config, omero.grid.ImportSettings settings, omero.model.Fileset fs, ClientFilePathTransformer sanitizer) throws java.io.IOException
java.io.IOException
public void fillData(ImportConfig config, omero.grid.ImportSettings settings, omero.model.Fileset fs, ClientFilePathTransformer sanitizer, FileTransfer transfer) throws java.io.IOException
java.io.IOException
public void updateUsedFilesTotalSize()
Version: 5.4.10-ice35-b105
Copyright © 2019 The University of Dundee & Open Microscopy Environment. All Rights Reserved.