public static final class Asciidoctor.Factory
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static Asciidoctor |
create()
Creates a new instance of Asciidoctor.
|
static Asciidoctor |
create(java.lang.ClassLoader classloader)
Deprecated.
Please use
create() and set the TCCL before or create(List) passing the paths
that you would have used to create the ClassLoader. |
static Asciidoctor |
create(java.lang.ClassLoader classloader,
java.lang.String gemPath)
Deprecated.
Please use
create(String) and set the TCCL before or create(List, String)
passing the paths that you would have used to create the ClassLoader. |
static Asciidoctor |
create(java.util.List<java.lang.String> loadPaths)
Creates a new instance of Asciidoctor and sets loadPath to provided paths.
|
static Asciidoctor |
create(java.util.List<java.lang.String> loadPaths,
java.lang.String gemPath)
Creates a new instance of Asciidoctor and sets loadPath to provided paths.
|
static Asciidoctor |
create(java.lang.String gemPath)
Creates a new instance of Asciidoctor and sets GEM_PATH environment
variable to provided gemPath.
|
public static Asciidoctor create()
public static Asciidoctor create(java.lang.String gemPath)
gemPath - where gems are located.public static Asciidoctor create(java.util.List<java.lang.String> loadPaths)
loadPaths - where Ruby libraries are located.public static Asciidoctor create(java.lang.ClassLoader classloader)
create() and set the TCCL before or create(List) passing the paths
that you would have used to create the ClassLoader.classloader - public static Asciidoctor create(java.lang.ClassLoader classloader, java.lang.String gemPath)
create(String) and set the TCCL before or create(List, String)
passing the paths that you would have used to create the ClassLoader.classloader - gemPath - public static Asciidoctor create(java.util.List<java.lang.String> loadPaths, java.lang.String gemPath)
loadPaths - where Ruby libraries are located.gemPath - where gems are located.