aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Williamson <mike@zwobble.org>2016-03-15 23:31:40 +0000
committerMichael Williamson <mike@zwobble.org>2016-03-15 23:32:03 +0000
commit34807d0f09c37df082d21d970f27c7e59ffaa5ac (patch)
treead7f349f28e97c29dd69d9e73641dbbc43de8cc4
parent2aa8d73e234ffd91990187e6bd733c5aa514cff1 (diff)
Fix reference to extractRawText in README.md
-rw-r--r--README.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/README.md b/README.md
index 73eca75..d91ce52 100644
--- a/README.md
+++ b/README.md
@@ -80,7 +80,7 @@ Each paragraph is followed by two newlines.
```java
DocumentConverter converter = new DocumentConverter();
-Result<String> result = converter.convertToMarkdown(new File("document.docx"));
+Result<String> result = converter.extractRawText(new File("document.docx"));
String html = result.getValue(); // The raw text
List<String> warnings = result.getWarnings(); // Any warnings during conversion
```