Searched refs:newline (Results 1 - 6 of 6) sorted by relevance

/javamail/mail/src/main/java/com/sun/mail/util/
H A DLineOutputStream.java57 private static byte[] newline; field in class:LineOutputStream
60 newline = new byte[2];
61 newline[0] = (byte)'\r';
62 newline[1] = (byte)'\n';
72 out.write(newline);
76 out.write(newline);
H A DCRLFOutputStream.java55 private static final byte[] newline = { (byte)'\r', (byte)'\n' }; field in class:CRLFOutputStream
106 out.write(newline);
H A DBASE64EncoderStream.java64 private static byte[] newline = new byte[] { '\r', '\n' }; field in class:BASE64EncoderStream
203 out.write(newline);
237 out.write(newline);
/javamail/demo/src/main/java/
H A DNewlineOutputStream.java35 * Convert the various newline conventions to the local platform's
36 * newline convention. <p>
44 private static byte[] newline; field in class:NewlineOutputStream
48 if (newline == null) {
53 newline = s.getBytes("iso-8859-1"); // really us-ascii
56 newline = new byte[] { (byte)'\n' };
63 out.write(newline);
66 out.write(newline);
H A DCRLFOutputStream.java45 protected static byte[] newline; field in class:CRLFOutputStream
47 newline = new byte[2];
48 newline[0] = (byte)'\r';
49 newline[1] = (byte)'\n';
58 out.write(newline);
61 out.write(newline);
79 out.write(newline);
84 out.write(newline);
/javamail/mbox/src/main/java/com/sun/mail/mbox/
H A DNewlineOutputStream.java46 * Convert the various newline conventions to the local platform's
47 * newline convention.
51 private static final byte[] newline; field in class:NewlineOutputStream
62 newline = new byte[s.length()];
63 s.getBytes(0, s.length(), newline, 0);
72 out.write(newline);
75 out.write(newline);

Completed in 10 milliseconds