Package loci.formats.in
Class FlexReader
java.lang.Object
loci.formats.FormatHandler
loci.formats.FormatReader
loci.formats.in.FlexReader
- All Implemented Interfaces:
Closeable,AutoCloseable,ICompressedTileReader,IFormatHandler,IFormatReader,IMetadataConfigurable,IPyramidHandler
FlexReader is a file format reader for Evotec Flex files.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclassSAX handler for parsing XML.classSAX handler for parsing XML from .mea files.classSAX handler for parsing XML from .res files. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final intCustom IFD entry for Flex XML.static final Stringstatic final Stringstatic final String[]static final Stringstatic final Stringstatic final String[]Fields inherited from class loci.formats.FormatReader
core, coreIndex, datasetDescription, domains, fillColor, filterMetadata, flattenedResolutions, group, hasCompanionFiles, in, indexedAsRGB, metadata, metadataStore, normalizeData, resolution, saveOriginalMetadata, series, suffixNecessary, suffixSufficient, THUMBNAIL_DIMENSIONFields inherited from class loci.formats.FormatHandler
COMPRESSION_SUFFIXES, currentId, format, LOGGER, metadataOptions, suffixesFields inherited from interface loci.formats.IFormatReader
CAN_GROUP, CANNOT_GROUP, MUST_GROUP -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidappendServerMap(String alias, String realName) Add the path 'realName' to the mapping for the server named 'alias'.voidclose(boolean fileOnly) intintintString[]getSeriesUsedFiles(boolean noPixels) protected voidbooleanisSingleFile(String id) static voidMap the server named 'alias' to the path 'realName'.static voidMap the server named 'alias' to the paths in 'realNames'.static voidmapServersFromConfigurationFile(String configFile) Read a configuration file with lines of the form: <server alias>=<real server name> and call mapServer(String, String) accordingly.byte[]openBytes(int no, byte[] buf, int x, int y, int w, int h) Methods inherited from class loci.formats.FormatReader
addGlobalMeta, addGlobalMeta, addGlobalMeta, addGlobalMeta, addGlobalMeta, addGlobalMeta, addGlobalMeta, addGlobalMeta, addGlobalMeta, addGlobalMetaList, addMeta, addMetaList, addSeriesMeta, addSeriesMeta, addSeriesMeta, addSeriesMeta, addSeriesMeta, addSeriesMeta, addSeriesMeta, addSeriesMeta, addSeriesMeta, addSeriesMetaList, close, coreIndexToSeries, flattenHashtables, get16BitLookupTable, get8BitLookupTable, getAcquisitionMode, getAdvancedSeriesUsedFiles, getAdvancedUsedFiles, getArcType, getAvailableOptions, getBinning, getBitsPerPixel, getCompression, getContrastMethod, getCoreIndex, getCoreMetadataList, getCorrection, getCurrentCore, getCurrentFile, getDatasetStructureDescription, getDetectorType, getDimensionOrder, getDimensionOrder, getDomains, getEffectiveSizeC, getExperimentType, getFilamentType, getFillColor, getFillRule, getFilterType, getFontFamily, getFontStyle, getGlobalMeta, getGlobalMetadata, getIlluminationType, getImageCount, getImmersion, getIndex, getIndex, getLaserMedium, getLaserType, getMarker, getMedium, getMetadataStore, getMetadataStoreRoot, getMetadataValue, getMicrobeamManipulationType, getMicroscopeType, getModuloC, getModuloT, getModuloZ, getNamingConvention, getPixelType, getPixelType, getPossibleDomains, getPulse, getRequiredDirectories, getResolution, getResolutionCount, getRGBChannelCount, getRotationTransform, getSeries, getSeriesCount, getSeriesMeta, getSeriesMetadata, getSeriesMetadataValue, getSeriesUsedFiles, getSizeC, getSizeT, getSizeX, getSizeY, getSizeZ, getThumbSizeX, getThumbSizeY, getTileColumns, getTileRows, getUnderlyingReaders, getUsedFiles, getUsedFiles, getZCTCoords, getZCTModuloCoords, hasCompanionFiles, hasFlattenedResolutions, isFalseColor, isGroupFiles, isIndexed, isInterleaved, isInterleaved, isLittleEndian, isMetadataComplete, isMetadataFiltered, isNormalized, isOrderCertain, isOriginalMetadataPopulated, isRGB, isThisType, isThisType, isThisType, isThisType, isThumbnailSeries, isUsedFile, makeFilterMetadata, openBytes, openBytes, openBytes, openPlane, openThumbBytes, readPlane, readPlane, readPlane, reopenFile, seriesToCoreIndex, setCoreIndex, setFillColor, setFlattenedResolutions, setGroupFiles, setId, setMetadataFiltered, setMetadataStore, setNormalized, setOriginalMetadataPopulated, setResolution, setSeries, updateMetadataListsMethods inherited from class loci.formats.FormatHandler
checkSuffix, checkSuffix, getFormat, getMetadataOptions, getNativeDataType, getSuffixes, getSupportedMetadataLevels, setMetadataOptionsMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface loci.formats.ICompressedTileReader
getTileCodec, getTileCodecOptions, openCompressedBytes, openCompressedBytesMethods inherited from interface loci.formats.IFormatHandler
getFormat, getNativeDataType, getSuffixesMethods inherited from interface loci.formats.IMetadataConfigurable
getMetadataOptions, getSupportedMetadataLevels, setMetadataOptions
-
Field Details
-
FLEX
public static final int FLEXCustom IFD entry for Flex XML.- See Also:
-
FLEX_SUFFIX
- See Also:
-
MEA_SUFFIX
- See Also:
-
RES_SUFFIX
- See Also:
-
MEASUREMENT_SUFFIXES
-
SUFFIXES
-
SCREENING
- See Also:
-
ARCHIVE
- See Also:
-
-
Constructor Details
-
FlexReader
public FlexReader()Constructs a new Flex reader.
-
-
Method Details
-
fileGroupOption
- Specified by:
fileGroupOptionin interfaceIFormatReader- Overrides:
fileGroupOptionin classFormatReader- Throws:
FormatExceptionIOException
-
isSingleFile
- Specified by:
isSingleFilein interfaceIFormatReader- Overrides:
isSingleFilein classFormatReader- Throws:
FormatExceptionIOException
-
getSeriesUsedFiles
- Specified by:
getSeriesUsedFilesin interfaceIFormatReader- Overrides:
getSeriesUsedFilesin classFormatReader
-
getOptimalTileWidth
public int getOptimalTileWidth()- Specified by:
getOptimalTileWidthin interfaceIFormatReader- Overrides:
getOptimalTileWidthin classFormatReader
-
getOptimalTileHeight
public int getOptimalTileHeight()- Specified by:
getOptimalTileHeightin interfaceIFormatReader- Overrides:
getOptimalTileHeightin classFormatReader
-
openBytes
public byte[] openBytes(int no, byte[] buf, int x, int y, int w, int h) throws FormatException, IOException - Specified by:
openBytesin interfaceIFormatReader- Specified by:
openBytesin classFormatReader- Throws:
FormatExceptionIOException- See Also:
-
close
- Specified by:
closein interfaceIFormatReader- Overrides:
closein classFormatReader- Throws:
IOException
-
initFile
- Overrides:
initFilein classFormatReader- Throws:
FormatExceptionIOException
-
appendServerMap
Add the path 'realName' to the mapping for the server named 'alias'.- Throws:
FormatException- if 'realName' does not exist
-
mapServer
Map the server named 'alias' to the path 'realName'. If other paths were mapped to 'alias', they will be overwritten. -
mapServer
Map the server named 'alias' to the paths in 'realNames'. If other paths were mapped to 'alias', they will be overwritten. -
mapServersFromConfigurationFile
public static void mapServersFromConfigurationFile(String configFile) throws FormatException, IOException Read a configuration file with lines of the form: <server alias>=<real server name> and call mapServer(String, String) accordingly.- Throws:
FormatException- if configFile does not exist.IOException- See Also:
-