public class DfsReftableStack extends Object implements AutoCloseable
ReftableReader instances.| Modifier and Type | Method and Description |
|---|---|
void |
close() |
List<DfsReftable> |
files()
Get unmodifiable list of DfsRefatble files
|
static DfsReftableStack |
open(DfsReader ctx,
List<DfsReftable> files)
Opens a stack of tables for reading.
|
List<ReftableReader> |
readers()
Get unmodifiable list of tables
|
public static DfsReftableStack open(DfsReader ctx, List<DfsReftable> files) throws IOException
ctx - context to read the tables with. This ctx will be
retained by the stack and each of the table readers.files - the tables to open.IOException - a table could not be openedpublic List<DfsReftable> files()
open(DfsReader, List).public List<ReftableReader> readers()
open(DfsReader, List).public void close()
close in interface AutoCloseableCopyright © 2020 Eclipse JGit Project. All rights reserved.