Skip to content

Commit def47b9

Browse files
committed
Update documentation for FileMaps new encoding option. (#455)
1 parent 8d2cb08 commit def47b9

File tree

1 file changed

+6
-3
lines changed
  • metamorph/src/main/java/org/metafacture/metamorph/maps

1 file changed

+6
-3
lines changed

metamorph/src/main/java/org/metafacture/metamorph/maps/FileMap.java

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,11 @@
3838
import java.util.regex.Pattern;
3939

4040
/**
41-
* Provides a {@link Map} based on files. Can be one file or a comma separated list of files.
42-
* The files are supposed to be UTF-8 encoded. The default separator is {@code \t}.
41+
* Provides a {@link Map} based on files. Can be a single file or a
42+
* comma-separated list of files.
43+
*
44+
* The default {@link #setEncoding encoding} is UTF-8.
45+
* The default {@link #setSeparator separator} is {@code \t}.
4346
*
4447
* By setting {@link #allowEmptyValues} to {@code true} the values in the
4548
* {@link Map} can be empty thus enabling e.g.
@@ -194,7 +197,7 @@ private Optional<InputStream> openAsUrl(final String file) {
194197
/**
195198
* Sets the separator.
196199
*
197-
* <strong>Default value: {@code \t} </strong>
200+
* <strong>Default value: {@code \t}</strong>
198201
*
199202
* @param delimiter the separator
200203
*/

0 commit comments

Comments
 (0)