public class Utils extends Object
| Constructor and Description |
|---|
Utils() |
| Modifier and Type | Method and Description |
|---|---|
static String |
humanReadableByteCount(long bytes) |
static String |
humanReadableByteCount(long bytes,
boolean si) |
static Image |
imageFromPath(Store store,
Matcher matcher) |
static Image |
imageFromPath(Store store,
String path) |
static String |
imageSize(Image image) |
static Stream<String> |
list(Store store,
String path)
Utility to list the contents of the 2-day store
|
public static String humanReadableByteCount(long bytes)
public static String humanReadableByteCount(long bytes, boolean si)
public static Stream<String> list(Store store, String path) throws DAQException
store - The store to listpath - The path to listDAQException - If something goes wrongpublic static Image imageFromPath(Store store, String path) throws DAQException, RuntimeException
DAQExceptionRuntimeExceptionpublic static Image imageFromPath(Store store, Matcher matcher) throws DAQException
DAQExceptionCopyright © 2021 LSST. All rights reserved.