Package | Description |
---|---|
org.torproject.descriptor.index |
This package is still in alpha stage.
|
Modifier and Type | Field and Description |
---|---|
java.util.SortedSet<FileNode> |
DirectoryNode.files
The file list is exposed in JSON.
|
java.util.SortedSet<FileNode> |
IndexNode.files
The file list is exposed in JSON.
|
Modifier and Type | Method and Description |
---|---|
java.util.SortedMap<java.lang.String,FileNode> |
IndexNode.retrieveFilesIn(java.lang.String... remoteDirs)
Return a map of file paths for the given directories.
|
Modifier and Type | Method and Description |
---|---|
int |
FileNode.compareTo(FileNode other)
This compareTo is not compatible with equals or hash!
It simply ensures a path-sorted Gson output.
|
Constructor and Description |
---|
DirectoryNode(java.lang.String path,
java.util.SortedSet<FileNode> files,
java.util.SortedSet<DirectoryNode> directories)
A directory for the JSON structure.
|
IndexNode(java.lang.String created,
java.lang.String path,
java.util.SortedSet<FileNode> files,
java.util.SortedSet<DirectoryNode> directories)
An index node is the top-level node in the JSON structure.
|