Class BioFormatsServerBuilder
java.lang.Object
qupath.lib.images.servers.bioformats.BioFormatsServerBuilder
- All Implemented Interfaces:
- ImageServerBuilder<BufferedImage>
Builder for ImageServers that make use of the Bio-Formats library.
- 
Nested Class SummaryNested classes/interfaces inherited from interface qupath.lib.images.servers.ImageServerBuilderImageServerBuilder.AbstractServerBuilder<T>, ImageServerBuilder.DefaultImageServerBuilder<T>, ImageServerBuilder.ServerBuilder<T>, ImageServerBuilder.UriImageSupport<T>
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbuildServer(URI uri, String... args) Attempt to createImageServer<T>from the specified path.checkImageSupport(URI uri, String... args) Check whether a URI is supported by this builder.Get a short, human-readable description for display in a GUI.Returns the base class for the images supported by this server.getName()Get a human-readable name for the kind of ImageServer this builds.booleanmatchClassName(String... classNames) Check if this provider matches one or more specified classnames.
- 
Constructor Details- 
BioFormatsServerBuilderpublic BioFormatsServerBuilder()
 
- 
- 
Method Details- 
buildServerDescription copied from interface:ImageServerBuilderAttempt to createImageServer<T>from the specified path.- Specified by:
- buildServerin interface- ImageServerBuilder<BufferedImage>
- Parameters:
- uri-
- args- optional String arguments that may be used by the builder.
- Returns:
 
- 
checkImageSupportpublic ImageServerBuilder.UriImageSupport<BufferedImage> checkImageSupport(URI uri, String... args) throws IOException Description copied from interface:ImageServerBuilderCheck whether a URI is supported by this builder.This can be used to gain an estimate of how well the format is supported, and the number of images found. - Specified by:
- checkImageSupportin interface- ImageServerBuilder<BufferedImage>
- Parameters:
- uri-
- args- optional String args (may be ignored)
- Returns:
- Throws:
- IOException
 
- 
getNameDescription copied from interface:ImageServerBuilderGet a human-readable name for the kind of ImageServer this builds.- Specified by:
- getNamein interface- ImageServerBuilder<BufferedImage>
- Returns:
 
- 
getDescriptionDescription copied from interface:ImageServerBuilderGet a short, human-readable description for display in a GUI.- Specified by:
- getDescriptionin interface- ImageServerBuilder<BufferedImage>
- Returns:
 
- 
getImageTypeDescription copied from interface:ImageServerBuilderReturns the base class for the images supported by this server. Typically this is BufferedImage.class.- Specified by:
- getImageTypein interface- ImageServerBuilder<BufferedImage>
- Returns:
 
- 
matchClassNameDescription copied from interface:ImageServerBuilderCheck if this provider matches one or more specified classnames.The default implementation checks the full and simple name of the class. Subclasses may override this behavior to support more intuitive names, e.g. "bioformats", "openslide", "imagej", "imageio". However, this should not be overused, so as to prevent future conflicts. - Specified by:
- matchClassNamein interface- ImageServerBuilder<BufferedImage>
- Parameters:
- classNames-
- Returns:
- true if there is any classname match, false otherwise
 
 
-