Searched defs:write (Results 1 - 23 of 23) sorted by relevance

/javamail/demo/src/main/java/
H A DCRLFOutputStream.java56 public void write(int b) throws IOException { method in class:CRLFOutputStream
58 out.write(newline);
61 out.write(newline);
63 out.write(b);
68 public void write(byte b[]) throws IOException { method in class:CRLFOutputStream
69 write(b, 0, b.length);
72 public void write(byte b[], int off, int len) throws IOException { method in class:CRLFOutputStream
78 out.write(b, start, i - start);
79 out.write(newline);
83 out.write(
[all...]
H A DNewlineOutputStream.java61 public void write(int b) throws IOException { method in class:NewlineOutputStream
63 out.write(newline);
66 out.write(newline);
68 out.write(b);
73 public void write(byte b[]) throws IOException { method in class:NewlineOutputStream
74 write(b, 0, b.length);
77 public void write(byte b[], int off, int len) throws IOException { method in class:NewlineOutputStream
79 write(b[off + i]);
/javamail/dsn/src/test/java/com/sun/mail/dsn/
H A DNullOutputStream.java50 public void write(int b) throws IOException { method in class:NullOutputStream
53 public void write(byte[] b) throws IOException { method in class:NullOutputStream
56 public void write(byte[] b, int off, int len) throws IOException { method in class:NullOutputStream
/javamail/mail/src/test/java/com/sun/mail/test/
H A DNullOutputStream.java50 public void write(int b) throws IOException { method in class:NullOutputStream
53 public void write(byte[] b) throws IOException { method in class:NullOutputStream
56 public void write(byte[] b, int off, int len) throws IOException { method in class:NullOutputStream
/javamail/mail/src/main/java/com/sun/mail/util/
H A DCRLFOutputStream.java61 public void write(int b) throws IOException { method in class:CRLFOutputStream
68 out.write(b);
74 public void write(byte b[]) throws IOException { method in class:CRLFOutputStream
75 write(b, 0, b.length);
78 public void write(byte b[], int off, int len) throws IOException { method in class:CRLFOutputStream
84 out.write(b, start, i - start);
89 out.write(b, start, i - start);
97 out.write(b, start, len - start);
103 * Just write out a new line, something similar to out.println()
106 out.write(newlin
[all...]
H A DQEncoderStream.java80 public void write(int c) throws IOException { method in class:QEncoderStream
119 encoder.write(c);
H A DLogOutputStream.java68 public void write(int b) throws IOException { method in class:LogOutputStream
84 public void write(byte b[]) throws IOException { method in class:LogOutputStream
85 write(b, 0, b.length);
88 public void write(byte b[], int off, int len) throws IOException { method in class:LogOutputStream
H A DTraceOutputStream.java107 * @param b the byte to write
110 public void write(int b) throws IOException { method in class:TraceOutputStream
115 traceOut.write(b);
117 out.write(b);
125 * @param b bytes to write
127 * @param len number of bytes to write
130 public void write(byte b[], int off, int len) throws IOException { method in class:TraceOutputStream
136 traceOut.write(b, off, len);
138 out.write(b, off, len);
147 traceOut.write('
[all...]
H A DUUEncoderStream.java48 * any output stream and write bytes into this filter. The Encoding
106 public void write(byte[] b, int off, int len) throws IOException { method in class:UUEncoderStream
108 write(b[off + i]);
111 public void write(byte[] data) throws IOException { method in class:UUEncoderStream
112 write(data, 0, data.length);
115 public void write(int c) throws IOException { method in class:UUEncoderStream
117 * and write them out. Max number of characters allowed per
184 out.write((bufsize & 0x3f) + ' ');
204 out.write(c1 + ' ');
205 out.write(c
[all...]
H A DBASE64EncoderStream.java48 * any output stream and write bytes into this filter. The encoding
113 * @param len the number of bytes to write.
116 public synchronized void write(byte[] b, int off, int len) method in class:BASE64EncoderStream
122 write(b[off++]);
133 out.write(encode(b, off, blen, outbuf), 0, outlen);
140 out.write(encode(b, off, lineLimit, outbuf));
148 out.write(encode(b, off, blen, outbuf), 0, outlen);
155 write(b[off]);
164 public void write(byte[] b) throws IOException { method in class:BASE64EncoderStream
165 write(
174 public synchronized void write(int c) throws IOException { method in class:BASE64EncoderStream
[all...]
H A DQPEncoderStream.java48 * any output stream and write bytes into this filter. The Encoding
90 * @param len the number of bytes to write.
93 public void write(byte[] b, int off, int len) throws IOException { method in class:QPEncoderStream
95 write(b[off + i]);
103 public void write(byte[] b) throws IOException { method in class:QPEncoderStream
104 write(b, 0, b.length);
112 public void write(int c) throws IOException { method in class:QPEncoderStream
171 out.write('\r');
172 out.write('\n');
185 out.write('
[all...]
H A DWriteTimeoutSocket.java51 * implement timeouts for writes. The write timeout is specified
60 // to schedule task to cancel write after timeout
169 // wrap the returned stream to implement write timeout
334 * socket (aborting the write) if the timeout expires.
350 os.close(); // close the stream to abort the write
357 public synchronized void write(int b) throws IOException { method in class:TimeoutOutputStream
361 this.write(b1);
365 public synchronized void write(byte[] bs, int off, int len) method in class:TimeoutOutputStream
383 // the following write should fail with IOException
385 os.write(b
[all...]
/javamail/mbox/src/main/java/com/sun/mail/mbox/
H A DContentLengthCounter.java53 public void write(int b) throws IOException { method in class:ContentLengthCounter
72 public void write(byte[] b) throws IOException { method in class:ContentLengthCounter
74 super.write(b);
79 public void write(byte[] b, int off, int len) throws IOException { method in class:ContentLengthCounter
81 super.write(b, off, len);
95 os.write(b);
H A DLineCounter.java56 public void write(int b) throws IOException { method in class:LineCounter
60 out.write(b);
64 public void write(byte[] b) throws IOException { method in class:LineCounter
65 write(b, 0, b.length);
68 public void write(byte[] b, int off, int len) throws IOException { method in class:LineCounter
70 write(b[off + i]);
84 os.write(b);
H A DNewlineOutputStream.java70 public void write(int b) throws IOException { method in class:NewlineOutputStream
72 out.write(newline);
75 out.write(newline);
77 out.write(b);
82 public void write(byte b[]) throws IOException { method in class:NewlineOutputStream
83 write(b, 0, b.length);
86 public void write(byte b[], int off, int len) throws IOException { method in class:NewlineOutputStream
88 write(b[off + i]);
H A DContentLengthUpdater.java60 public void write(int b) throws IOException { method in class:ContentLengthUpdater
85 out.write(contentLength.getBytes("iso-8859-1"));
86 out.write(eol.getBytes("iso-8859-1"));
96 out.write(contentLength.getBytes("iso-8859-1"));
98 // not a Content-Length header, just write it out
99 out.write(line.toString().getBytes("iso-8859-1"));
104 out.write(b); // write out line terminator immediately
112 out.write(b); // not in the header, just write i
115 public void write(byte[] b) throws IOException { method in class:ContentLengthUpdater
122 public void write(byte[] b, int off, int len) throws IOException { method in class:ContentLengthUpdater
[all...]
H A DTempFile.java183 public void write(int b) throws IOException { method in class:AppendStream
184 raf.write(b);
187 public void write(byte[] b) throws IOException { method in class:AppendStream
188 raf.write(b);
191 public void write(byte[] b, int off, int len) throws IOException { method in class:AppendStream
192 raf.write(b, off, len);
/javamail/mail/src/main/java/com/sun/mail/smtp/
H A DSMTPOutputStream.java60 public void write(int b) throws IOException { method in class:SMTPOutputStream
62 // character is ".", we always write out an extra ".".
64 out.write('.');
67 super.write(b);
73 public void write(byte b[], int off, int len) throws IOException { method in class:SMTPOutputStream
80 super.write(b, start, i - start);
81 out.write('.');
87 super.write(b, start, len - start);
110 * @exception IOException if the write fails
/javamail/mail/src/main/java/com/sun/mail/pop3/
H A DAppendStream.java67 public void write(int b) throws IOException { method in class:AppendStream
68 raf.write(b);
71 public void write(byte[] b) throws IOException { method in class:AppendStream
72 raf.write(b);
75 public void write(byte[] b, int off, int len) throws IOException { method in class:AppendStream
76 raf.write(b, off, len);
/javamail/mail/src/main/java/com/sun/mail/imap/protocol/
H A DBASE64MailboxEncoder.java128 writer.write('&');
129 writer.write('-');
131 writer.write(current);
135 // use a B64MailboxEncoder to write out the other bytes
136 // as a modified BASE64. The stream will write out
145 base64stream.write(current);
165 * @param what where to write the encoded name
171 public void write(int c) { method in class:BASE64MailboxEncoder
173 // write out the initial character if this is the first time
176 out.write('
[all...]
/javamail/mail/src/main/java/com/sun/mail/iap/
H A DArgument.java83 * @param s String to write out
93 * charset, and write the bytes out as an ASTRING
95 * @param s String to write out
114 * @param s String to write out
128 * charset, and write the bytes out as an NSTRING
130 * @param s String to write out
149 * @param b byte[] to write out
223 public void write(Protocol protocol) method in class:Argument
229 if (i > 0) // write delimiter if not the first item
230 os.write(' ');
[all...]
/javamail/mail/src/main/java/javax/mail/internet/
H A DMimeUtility.java806 eos.write(bytes);
811 // Now write out the encoded (all ASCII) bytes into our
1644 public void write(int b) throws IOException { method in class:AsciiOutputStream
1648 public void write(byte b[]) throws IOException { method in class:AsciiOutputStream
1649 write(b, 0, b.length);
1652 public void write(byte b[], int off, int len) throws IOException { method in class:AsciiOutputStream
/javamail/mail/src/main/java/com/sun/mail/imap/
H A DIMAPFolder.java3014 * because SocketChannels don't allow simultaneous read and write.
3967 os.write(buf, 0, msgSize);
3995 public void write(int b) { method in class:LengthCounter
4012 public void write(byte b[], int off, int len) { method in class:LengthCounter
4035 public void write(byte[] b) throws IOException { method in class:LengthCounter
4036 write(b, 0, b.length);

Completed in 666 milliseconds