public class DocTree extends Object implements Comparable<DocTree>
| Modifier and Type | Field and Description |
|---|---|
(package private) SortedSet<DocTree> |
children |
(package private) static org.slf4j.Logger |
log |
(package private) String |
name |
(package private) DocTree |
parent |
(package private) String |
prefix |
| Modifier and Type | Method and Description |
|---|---|
void |
add(DocTree child) |
void |
add(String[] path,
DocTree child) |
int |
compareTo(DocTree arg0) |
static DocTree |
findDocs(Class<?>[] CLASSES,
String[] patterns) |
List<File> |
generateDocs(File base) |
private File |
generateTex(File md) |
DocTree |
getChild(String n) |
Set<DocTree> |
getChildren() |
static URL |
getMarkDownFile(Class<?> clazz) |
String |
getPath() |
String |
getResourceName(String ext) |
static URL |
getTexFile(Class<?> clazz) |
boolean |
hasChild(String name) |
boolean |
isLeaf() |
static boolean |
matches(String[] patterns,
Class<?> clazz) |
void |
print(String prefix) |
static org.slf4j.Logger log
DocTree parent
String prefix
final String name
public DocTree(String pkg)
public void add(DocTree child)
public boolean hasChild(String name)
public boolean isLeaf()
public int compareTo(DocTree arg0)
compareTo in interface Comparable<DocTree>Comparable.compareTo(java.lang.Object)public void print(String prefix)
public String getPath()
public List<File> generateDocs(File base) throws IOException
IOExceptionCopyright © 2018. All rights reserved.