public class ReftableStack extends Object implements AutoCloseable
Reftable
instances.Modifier and Type | Method and Description |
---|---|
void |
close() |
List<DfsReftable> |
files()
Get unmodifiable list of DfsRefatble files
|
static ReftableStack |
open(DfsReader ctx,
List<DfsReftable> files)
Opens a stack of tables for reading.
|
List<Reftable> |
readers()
Get unmodifiable list of tables
|
public static ReftableStack 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<Reftable> readers()
open(DfsReader, List)
.public void close()
close
in interface AutoCloseable
Copyright © 2018 Eclipse JGit Project. All rights reserved.