commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject svn commit: r1495914 - /commons/proper/csv/trunk/src/main/java/org/apache/commons/csv/Constants.java
Date Mon, 24 Jun 2013 03:27:03 GMT
Author: ggregory
Date: Mon Jun 24 03:27:03 2013
New Revision: 1495914

URL: http://svn.apache.org/r1495914
Log:
Add contants for [CSV-51] Support Unicode line separators.

Modified:
    commons/proper/csv/trunk/src/main/java/org/apache/commons/csv/Constants.java

Modified: commons/proper/csv/trunk/src/main/java/org/apache/commons/csv/Constants.java
URL: http://svn.apache.org/viewvc/commons/proper/csv/trunk/src/main/java/org/apache/commons/csv/Constants.java?rev=1495914&r1=1495913&r2=1495914&view=diff
==============================================================================
--- commons/proper/csv/trunk/src/main/java/org/apache/commons/csv/Constants.java (original)
+++ commons/proper/csv/trunk/src/main/java/org/apache/commons/csv/Constants.java Mon Jun 24
03:27:03 2013
@@ -49,5 +49,20 @@ final class Constants {
 
     /** According to RFC 4180, line breaks are delimited by CRLF */
     static final String CRLF = "\r\n";
+    
+    /**
+     * Unicode line separator.
+     */
+    static final String LINE_SEPARATOR = "\u2028";
+
+    /**
+     * Unicode paragraph separator.
+     */
+    static final String PARAGRAPH_SEPARATOR = "\u2029";
+
+    /**
+     * Unicode next line.
+     */
+    static final String NEXT_LINE = "\u0085";
 
 }



Mime
View raw message