FileSize

public final class FileSize

The information about the file size.

Parameters

unit

The unit about the file size.

value The value about the file size.

Constructors

Link copied to clipboard
public FileSize FileSize(FileSize.Unit unit, Long value)

Types

Link copied to clipboard
public final class Builder
Link copied to clipboard
public enum Unit extends Enum<FileSize.Unit>

The unit about the file size. Values: KB,MB,GB

Properties

Link copied to clipboard
private final FileSize.Unit unit
Link copied to clipboard
private final Long value

Functions

Link copied to clipboard
public final static FileSize.Builder builder()
Link copied to clipboard
public final FileSize.Unit getUnit()
Link copied to clipboard
public final Long getValue()
Link copied to clipboard
public final FileSize.Builder toBuilder()