public static class PackageUtil.TreeNode extends ArrayList<PackageUtil.TreeItem>
modCount| Modifier and Type | Method and Description |
|---|---|
boolean |
addPackage(org.apache.jackrabbit.vault.packaging.JcrPackage jcrPackage)
adds a package or the appropriate folder to the nodes children if it is a child of this node
|
boolean |
isLeaf() |
void |
sort() |
void |
toJson(com.google.gson.stream.JsonWriter writer) |
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, forEach, get, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeIf, removeRange, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray, trimToSizeequals, hashCodecontainsAll, toStringfinalize, getClass, notify, notifyAll, wait, wait, waitcontainsAll, equals, hashCodeparallelStream, streampublic TreeNode(String path)
public boolean addPackage(org.apache.jackrabbit.vault.packaging.JcrPackage jcrPackage)
throws javax.jcr.RepositoryException
jcrPackage - the current package in the iterationjavax.jcr.RepositoryExceptionpublic boolean isLeaf()
public void sort()
public void toJson(com.google.gson.stream.JsonWriter writer)
throws IOException,
javax.jcr.RepositoryException
IOExceptionjavax.jcr.RepositoryExceptionCopyright © 2022. All rights reserved.