Sha256: 81896ef76c50bc70f39a1767f667682d5b3e9bb6a360fc4731ce76d84c8d47f1
Contents?: true
Size: 711 Bytes
Versions: 155
Compression:
Stored size: 711 Bytes
Contents
package org.embulk.spi.util; public enum Newline { CRLF("\r\n"), LF("\n"), CR("\r"); private final String string; private final char firstCharCode; private final char secondCharCode; private Newline(String string) { this.string = string; this.firstCharCode = string.charAt(0); if (string.length() > 1) { this.secondCharCode = string.charAt(1); } else { this.secondCharCode = 0; } } public String getString() { return string; } public char getFirstCharCode() { return firstCharCode; } public char getSecondCharCode() { return secondCharCode; } }
Version data entries
155 entries across 155 versions & 1 rubygems