Skip to content

Commit 720b341

Browse files
committed
CSV-90 CSVFormat isEscaping/isEncapsulating are not public
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1327754 13f79535-47bb-0310-9956-ffa450edef68
1 parent adf5f83 commit 720b341

1 file changed

Lines changed: 12 additions & 2 deletions

File tree

src/main/java/org/apache/commons/csv/CSVFormat.java

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,12 @@ public CSVFormat withEncapsulator(char encapsulator) {
248248
return new CSVFormat(delimiter, encapsulator, commentStart, escape, surroundingSpacesIgnored, emptyLinesIgnored, lineSeparator, header);
249249
}
250250

251-
boolean isEncapsulating() {
251+
/**
252+
* Returns whether an encapsulator has been defined.
253+
*
254+
* @return {@code true} if an encapsulator is defined
255+
*/
256+
public boolean isEncapsulating() {
252257
return isEncapsulating;
253258
}
254259

@@ -315,7 +320,12 @@ public CSVFormat withEscape(char escape) {
315320
return new CSVFormat(delimiter, encapsulator, commentStart, escape, surroundingSpacesIgnored, emptyLinesIgnored, lineSeparator, header);
316321
}
317322

318-
boolean isEscaping() {
323+
/**
324+
* Returns whether escape are being processed.
325+
*
326+
* @return {@code true} if escapes are processed
327+
*/
328+
public boolean isEscaping() {
319329
return isEscaping;
320330
}
321331

0 commit comments

Comments
 (0)