public final class CacheConsole extends 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(String[] args)
Interactive interpreter for testing Bio-Formats caching implementation.
|
private static void |
printArray(String prefix,
int[] array)
Helper utility for outputing contents of an int array, used by main.
|
private static void |
printOrder(String prefix,
Cache cache)
Helper utility for outputing cache strategy's order, used by main.
|
private static void |
printSource(String prefix,
Cache cache)
Helper utility for outputing cache's associated source, used by main.
|
private static void |
printStrategy(String prefix,
Cache cache)
Helper utility for outputing cache's associated strategy, used by main.
|
public static void main(String[] args) throws FormatException, IOException
FormatException
IOException
private static final void printArray(String prefix, int[] array)
private static final void printSource(String prefix, Cache cache)
private static final void printStrategy(String prefix, Cache cache)
private static final void printOrder(String prefix, Cache cache)
private static final int[] getLengths(IFormatReader r)
Copyright © 2016 Open Microscopy Environment