From a7a68d9d3a2a341a5e57a2378f3c4a0f7be75d48 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Elton=20Tom=C3=A1s=20Laice?= Date: Mon, 31 Aug 2020 02:13:07 +0200 Subject: [PATCH] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 5e86551..634bafd 100644 --- a/README.md +++ b/README.md @@ -15,7 +15,7 @@ import com.eltonlaice.DocumentReader; Then you should create a DocumentReader instance passing a copy of the document and its type as arguments: ```java -DocumentReader reader = new DocumentReader("/path/docfile.pdf", "NUIT"); +DocumentReader reader = new DocumentReader("/path/docfile.pdf", DocumentType.BI); ``` Finally you can extract data from the document like this: @@ -69,4 +69,4 @@ Licensed under the Apache License, Version 2.0 (the "License"); you may not use http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. \ No newline at end of file +Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.