anchor.diff:  List<File> asciidocFiles = directoryWalker.scan();
   ----
   
  +=== GEM_PATH
  +
  +By default +asciidoctor-java-integration+ comes with all required gems bundled within the jar. But in some circumstances like +OSGi+ environments you may require that gems are stored in external directory and be loaded by +asciidoctor-java-integration+. To accomplish this scenario, +create+ method provides a parameter to set it.
  +
  +.Example of setting GEM_PATH
  +[source, java]
  +----
  +Asciidoctor asciidoctor = create("my/gem/path");
  +---- 
  +
   == Optimization
   
   Sometimes +JRuby+ starting time is slower than we would expect if we were using standard C-based, non-optimizing standard Ruby. For improving this time, +JRuby+ offers some flags which can be used to tune +JRuby+ applications. Apart of these flags, or in conjunction with them, we can use some +java+ flags to improve even more the startup time.
  
positive.code: 
  See that in previous example we have created a Map, where we have put the options and attributes (creating a Map too) required to render input as docbook and generate an output file.
  
  But +asciidoctor-java-integration+ also provides two builder classes to create these maps in a more readable form. 
  
  +AttributesBuilder+ is provided for creating a map with required attributes set, and +OptionsBuilder+ can be used for options. Previous example but using these classes looks like:
  
  .Example setting attributes and options
  [source, java]
  ----
  import static org.asciidoctor.AttributesBuilder.attributes;
  
negative.code: ...
  ----
  
  .Example setting attributes and options with classes
  [source, java]
  ----
  import static org.asciidoctor.AttributesBuilder.attributes;
  import static org.asciidoctor.OptionsBuilder.options;
  
  ...
  
  Attributes attributes = attributes().backend("docbook").get();
  Options options = options().inPlace(true).attributes(attributes).get();
  
  String render = asciidoctor.renderFile("target/test-classes/rendersample.asciidoc", options);
  
  ...
  ----
  
  === Utilities
  
  A utility class for searching all asciidoc files present in a root folder and all its subfolders is given. In fact it finds all files that end up with _.asc_, _.asciidoc_, _.ad_ or _.adoc_. This class is +AsciiDocDirectoryWalker+.
  