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.