Class ImageServerMetadata.Builder

java.lang.Object
qupath.lib.images.servers.ImageServerMetadata.Builder
Enclosing class:
ImageServerMetadata

public static class ImageServerMetadata.Builder extends Object
Builder to create a new ImageServerMetadata object.
  • Constructor Details

    • Builder

      public Builder(ImageServerMetadata metadata)
      Builder for a new ImageServerMetadata object that takes an existing metadata object as a starting point, but allows individual properties to be overridden.

      The existing metadata will be duplicated, therefore later changes in one metadata object will not be reflected in the other.

      Parameters:
      metadata -
    • Builder

      public Builder()
      Minimal builder for a new ImageServerMetadata; further properties must be set.
    • Builder

      public Builder(Class<? extends ImageServer<?>> serverClass, String path, int width, int height)
      Builder for a new ImageServerMetadata; further properties must be set.
      Parameters:
      serverClass -
      path -
      width -
      height -
  • Method Details