public static class Asciidoctor.Factory
extends java.lang.Object
Constructor and Description |
---|
Factory() |
Modifier and Type | Method and Description |
---|---|
static Asciidoctor |
create()
Creates a new instance of Asciidoctor.
|
static Asciidoctor |
create(java.lang.ClassLoader classloader)
Creates a new instance of Asciidoctor and sets a specific classloader for the JRuby runtime to use.
|
static Asciidoctor |
create(java.lang.ClassLoader classloader,
java.lang.String gemPath)
Cerates a new instance of Asciidoctor and sets a specific classloader and gempath for the JRuby runtime to use.
|
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.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)
classloader
- public static Asciidoctor create(java.lang.ClassLoader classloader, java.lang.String gemPath)
classloader
- gemPath
-