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