Correct Javadoc in FileStringLookup.
diff --git a/src/changes/changes.xml b/src/changes/changes.xml
index bade7a4..851a487 100644
--- a/src/changes/changes.xml
+++ b/src/changes/changes.xml
@@ -51,6 +51,7 @@
<action issue="TEXT-158" type="fix" dev="kinow">Incorrect values for Jaccard similarity with empty strings.</action>
<action issue="TEXT-186" type="fix" dev="ggregory" due-to="Gautam Korlam, Gary Gregory">StringSubstitutor map constructor throws NPE on 1.9 with null map.</action>
<action issue="TEXT-191" type="fix" dev="kinow" due-to="Bradley David Rumball">JaroWinklerDistance returns the same values as JaroWinklerSimilarity.</action>
+ <action type="add" dev="ggregory" due-to="Gary Gregory">Correct Javadoc in FileStringLookup.</action>
<!-- ADD -->
<action issue="TEXT-207" type="add" dev="mattjuntunen">Add DoubleFormat utility.</action>
<action issue="TEXT-190" type="add" dev="kinow" due-to="Benjamin Bing">Document negative limit for WordUtils abbreviate method</action>
diff --git a/src/main/java/org/apache/commons/text/lookup/FileStringLookup.java b/src/main/java/org/apache/commons/text/lookup/FileStringLookup.java
index de15027..e430ea2 100644
--- a/src/main/java/org/apache/commons/text/lookup/FileStringLookup.java
+++ b/src/main/java/org/apache/commons/text/lookup/FileStringLookup.java
@@ -24,7 +24,7 @@
import org.apache.commons.text.StringSubstitutor;
/**
- * Looks up keys from an XML document.
+ * Looks up keys from a file.
* <p>
* Using a {@link StringLookup} from the {@link StringLookupFactory}:
* </p>
@@ -60,9 +60,9 @@
}
/**
- * Looks up the value for the key in the format "DocumentPath:XPath".
+ * Looks up the value for the key in the format "charsetName:DocumentPath".
* <p>
- * For example: "com/domain/document.xml:/path/to/node".
+ * For example: "UTF-8:com/domain/document.properties".
* </p>
*
* @param key the key to be looked up, may be null