public final class CacheConsole
extends java.lang.Object
Modifier | Constructor and Description |
---|---|
private |
CacheConsole() |
Modifier and Type | Method and Description |
---|---|
private static int[] |
getLengths(IFormatReader r)
Helper utility for constructing lengths array, used by main.
|
static void |
main(java.lang.String[] args)
Interactive interpreter for testing Bio-Formats caching implementation.
|
private static void |
printArray(java.lang.String prefix,
int[] array)
Helper utility for outputing contents of an int array, used by main.
|
private static void |
printOrder(java.lang.String prefix,
Cache cache)
Helper utility for outputing cache strategy's order, used by main.
|
private static void |
printSource(java.lang.String prefix,
Cache cache)
Helper utility for outputing cache's associated source, used by main.
|
private static void |
printStrategy(java.lang.String prefix,
Cache cache)
Helper utility for outputing cache's associated strategy, used by main.
|
public static void main(java.lang.String[] args) throws FormatException, java.io.IOException
FormatException
java.io.IOException
private static final void printArray(java.lang.String prefix, int[] array)
private static final void printSource(java.lang.String prefix, Cache cache)
private static final void printStrategy(java.lang.String prefix, Cache cache)
private static final void printOrder(java.lang.String prefix, Cache cache)
private static final int[] getLengths(IFormatReader r)
Copyright © 2021 Open Microscopy Environment