org.asciidoctor
Class Asciidoctor.Factory
java.lang.Object
org.asciidoctor.Asciidoctor.Factory
- Enclosing interface:
- Asciidoctor
public static class Asciidoctor.Factory
- extends Object
Factory for creating a new instance of Asciidoctor interface.
- Author:
- lordofthejars
|
Method Summary |
static Asciidoctor |
create()
Creates a new instance of Asciidoctor. |
static Asciidoctor |
create(String gemPath)
Creates a new instance of Asciidoctor and sets GEM_PATH environment variable to provided gemPath. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Asciidoctor.Factory
public Asciidoctor.Factory()
create
public static Asciidoctor create()
- Creates a new instance of Asciidoctor.
- Returns:
- Asciidoctor instance which uses JRuby to wraps Asciidoctor Ruby calls.
create
public static Asciidoctor create(String gemPath)
- Creates a new instance of Asciidoctor and sets GEM_PATH environment variable to provided gemPath.
This method is mostly used in OSGi environments.
- Parameters:
gemPath - where gems are located.
- Returns:
- Asciidoctor instance which uses JRuby to wraps Asciidoctor Ruby calls.
Copyright © 2013. All Rights Reserved.