Package | Description |
---|---|
com.saperion.util |
This package contains the utility classes for the LARIX RMI Server.
|
Modifier and Type | Method and Description |
---|---|
static FileSizeCalcer.CalcFactor |
FileSizeCalcer.CalcFactor.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FileSizeCalcer.CalcFactor[] |
FileSizeCalcer.CalcFactor.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
static long |
FileSizeCalcer.getBytes(double value,
FileSizeCalcer.CalcFactor factor,
FileSizeCalcer.FileSize unit)
Gets the size in bytes.
|
static String |
FileSizeCalcer.getNiceSize(long bytes,
FileSizeCalcer.CalcFactor calcFactor)
Computes the size using the specified factor and automatically adds the proper unit (B, KB or
KiB, MB or MiB, GB or GiB, PB or PiB).
|
static double |
FileSizeCalcer.getSize(long bytes,
FileSizeCalcer.CalcFactor factor,
FileSizeCalcer.FileSize size)
Returns the size according to the given parameters.
|
Copyright © 2020 Hyland Software Germany GmbH. All rights reserved.