You're viewing an older version of Vaadin JavaDoc. Please see version 24.7.0 for the latest.
com.vaadin.flow.component.upload.

Class UploadI18N.Units

java.lang.Object
com.vaadin.flow.component.upload.UploadI18N.Units

All Implemented Interfaces:

Serializable

Enclosing class:

UploadI18N

public static class UploadI18N.Units extends Object implements Serializable

unit translations.

See Also:

  • Constructor Details

    • Units

      public Units()

      unit translations with default size: size = Arrays.asList("B", "kB", "MB", "GB", "TB", "PB", "EB", "ZB", "YB");

    • Units

      public Units(List<String> size)

      Parameters:

      size -

  • Method Details

    • getSize

      public List<String> getSize()

      get units size list

      Returns:

    • setSize

      public UploadI18N.Units setSize(List<String> size)

      units size list: ["B", "kB", "MB", "GB", "TB", "PB", "EB", "ZB", "YB"]

      Parameters:

      size -

      Returns: