Skip to content

Commit ff23055

Browse files
committed
Javadoc
1 parent 7925293 commit ff23055

19 files changed

+79
-1
lines changed

src/main/java/org/apache/commons/text/lookup/BiFunctionStringLookup.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,13 @@
2222

2323
/**
2424
* A function-based lookup where the request for a lookup is answered by applying that function with a key.
25+
* <p>
26+
* Public access is through {@link StringLookupFactory}.
27+
* </p>
2528
*
2629
* @param <R> A function's return type
2730
* @param <P> A function's second input type
31+
* @see StringLookupFactory
2832
* @since 1.9
2933
*/
3034
final class BiFunctionStringLookup<P, R> implements BiStringLookup<P> {

src/main/java/org/apache/commons/text/lookup/ConstantStringLookup.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,11 @@
5858
* <p>
5959
* This class was adapted from Apache Commons Configuration.
6060
* </p>
61+
* <p>
62+
* Public access is through {@link StringLookupFactory}.
63+
* </p>
6164
*
65+
* @see StringLookupFactory
6266
* @since 1.5
6367
*/
6468
class ConstantStringLookup extends AbstractStringLookup {

src/main/java/org/apache/commons/text/lookup/DateStringLookup.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,11 @@
4343
* <p>
4444
* The above examples convert {@code "yyyy-MM-dd"} to today's date, for example, {@code "2019-08-04"}.
4545
* </p>
46+
* <p>
47+
* Public access is through {@link StringLookupFactory}.
48+
* </p>
49+
*
50+
* @see StringLookupFactory
4651
*/
4752
final class DateStringLookup extends AbstractStringLookup {
4853

src/main/java/org/apache/commons/text/lookup/DnsStringLookup.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,11 @@
5353
* <p>
5454
* The above examples convert {@code "address|apache.org"} to {@code "95.216.24.32} (or {@code "40.79.78.1"}).
5555
* </p>
56+
* <p>
57+
* Public access is through {@link StringLookupFactory}.
58+
* </p>
5659
*
60+
* @see StringLookupFactory
5761
* @since 1.8
5862
*/
5963
final class DnsStringLookup extends AbstractStringLookup {

src/main/java/org/apache/commons/text/lookup/FileStringLookup.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,11 @@
4545
* <p>
4646
* The above example converts {@code "UTF-8:SomePath"} to the UTF-8 contents of the file at {@code SomePath}.
4747
* </p>
48+
* <p>
49+
* Public access is through {@link StringLookupFactory}.
50+
* </p>
4851
*
52+
* @see StringLookupFactory
4953
* @since 1.5
5054
*/
5155
final class FileStringLookup extends AbstractPathFencedLookup {

src/main/java/org/apache/commons/text/lookup/FunctionStringLookup.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,12 @@
2222

2323
/**
2424
* A function-based lookup where the request for a lookup is answered by applying that function with a key.
25+
* <p>
26+
* Public access is through {@link StringLookupFactory}.
27+
* </p>
2528
*
2629
* @param <V> A function's input type
30+
* @see StringLookupFactory
2731
* @since 1.9
2832
*/
2933
final class FunctionStringLookup<V> extends AbstractStringLookup {

src/main/java/org/apache/commons/text/lookup/InetAddressKeys.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,11 @@
2121

2222
/**
2323
* Constants for referring to {@link InetAddress} APIs.
24+
* <p>
25+
* Public access is through {@link StringLookupFactory}.
26+
* </p>
2427
*
28+
* @see StringLookupFactory
2529
* @since 1.8
2630
*/
2731
final class InetAddressKeys {

src/main/java/org/apache/commons/text/lookup/InetAddressStringLookup.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,11 @@
3535
* <li><strong>canonical-name</strong>: for the local canonical host name, for example {@code EXAMPLE.apache.org}.</li>
3636
* <li><strong>address</strong>: for the local host address, for example {@code 192.168.56.1}.</li>
3737
* </ul>
38+
* <p>
39+
* Public access is through {@link StringLookupFactory}.
40+
* </p>
3841
*
42+
* @see StringLookupFactory
3943
* @since 1.3
4044
*/
4145
final class InetAddressStringLookup extends AbstractStringLookup {

src/main/java/org/apache/commons/text/lookup/InterpolatorStringLookup.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,11 @@
2626
* <p>
2727
* Uses the {@link StringLookupFactory default lookups}.
2828
* </p>
29+
* <p>
30+
* Public access is through {@link StringLookupFactory}.
31+
* </p>
32+
*
33+
* @see StringLookupFactory
2934
*/
3035
final class InterpolatorStringLookup extends AbstractStringLookup {
3136

src/main/java/org/apache/commons/text/lookup/JavaPlatformStringLookup.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,11 @@
5353
* The above examples convert {@code "version"} to the current VM version, for example,
5454
* {@code "Java version 1.8.0_181"}.
5555
* </p>
56+
* <p>
57+
* Public access is through {@link StringLookupFactory}.
58+
* </p>
5659
*
60+
* @see StringLookupFactory
5761
* @since 1.3
5862
*/
5963
final class JavaPlatformStringLookup extends AbstractStringLookup {

0 commit comments

Comments
 (0)