public class DocusaurusPathFile extends DocusaurusFile
| Constructor and Description |
|---|
DocusaurusPathFile(String shortId,
String longId,
String title,
Path path,
int order,
net.thevpc.nuts.NutsElement config) |
| Modifier and Type | Method and Description |
|---|---|
net.thevpc.nuts.lib.md.MdElement |
getContent(net.thevpc.nuts.NutsSession session) |
Path |
getPath() |
static DocusaurusFile |
ofFile(Path path,
Path root,
net.thevpc.nuts.NutsSession session) |
static DocusaurusFile |
ofFile(String id,
String longId,
String title,
Path path,
int menuOrder,
net.thevpc.nuts.NutsElement config) |
getConfig, getLongId, getOrder, getShortId, getTitle, isFile, isFolder, toJSON, toStringpublic static DocusaurusFile ofFile(String id, String longId, String title, Path path, int menuOrder, net.thevpc.nuts.NutsElement config)
public static DocusaurusFile ofFile(Path path, Path root, net.thevpc.nuts.NutsSession session)
public Path getPath()
public net.thevpc.nuts.lib.md.MdElement getContent(net.thevpc.nuts.NutsSession session)
getContent in interface DocusaurusFileOrFoldergetContent in class DocusaurusFileCopyright © 2021 vpc open source initiative. All rights reserved.