Index

B C D E M O T 
All Classes and Interfaces|All Packages|Serialized Form

B

build() - Method in class org.docling.Docling.Builder
 
builder() - Static method in class org.docling.Docling
Creates a new builder with default settings (docling on the PATH, 600s timeout).

C

call() - Method in class org.docling.cli.DoclingCli
 
convert(byte[], String) - Method in class org.docling.Docling
Converts in-memory document bytes to Markdown and returns it as a string.
convert(byte[], String, boolean) - Method in class org.docling.Docling
Converts in-memory document bytes to Markdown and returns it as a string.
convert(String) - Method in class org.docling.Docling
Converts the given source (local file path or URL) to Markdown and returns it as a string.
convert(String, boolean) - Method in class org.docling.Docling
Converts the given source (local file path or URL) to Markdown and returns it as a string.
convert(Path) - Method in class org.docling.Docling
Converts a local file to Markdown and returns it as a string.
convert(Path, boolean) - Method in class org.docling.Docling
Converts a local file to Markdown and returns it as a string.
convertToDir(String, Path) - Method in class org.docling.Docling
Converts the given source to Markdown, writing the .md file into outputDir.

D

Docling - Class in org.docling
A thin, embeddable Java wrapper around the docling command-line tool.
Docling.Builder - Class in org.docling
Fluent builder for Docling.
DoclingCli - Class in org.docling.cli
Command-line front-end for the Docling library.
DoclingCli() - Constructor for class org.docling.cli.DoclingCli
 
DoclingException - Exception Class in org.docling
Thrown when a docling conversion fails to launch, times out, or exits non-zero.
DoclingException(String) - Constructor for exception class org.docling.DoclingException
 
DoclingException(String, Throwable) - Constructor for exception class org.docling.DoclingException
 

E

executable(String) - Method in class org.docling.Docling.Builder
Sets the name or path of the docling executable (default: docling).

M

main(String[]) - Static method in class org.docling.cli.DoclingCli
 

O

org.docling - package org.docling
 
org.docling.cli - package org.docling.cli
 

T

timeout(Duration) - Method in class org.docling.Docling.Builder
Sets the maximum time to wait for a conversion (Duration.ZERO = no limit).
B C D E M O T 
All Classes and Interfaces|All Packages|Serialized Form