Package | Description |
---|---|
org.torproject.descriptor.index |
This package is still in alpha stage.
|
Modifier and Type | Field and Description |
---|---|
static IndexNode |
IndexNode.emptyNode
An empty node, which is not added to JSON output.
|
Modifier and Type | Method and Description |
---|---|
static IndexNode |
IndexNode.fetchIndex(java.io.InputStream is)
Reads JSON from given InputStream.
|
static IndexNode |
IndexNode.fetchIndex(java.lang.String urlString)
Reads JSON from given URL String.
|
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
IndexNode.makeJsonString(IndexNode indexNode)
Write JSON representation of the given index node to a string.
|
static void |
IndexNode.writeIndex(java.nio.file.Path outPath,
IndexNode indexNode)
Write JSON representation of the given index node to the given path.
|