Searched defs:out (Results 1 - 16 of 16) sorted by relevance

/javamail/mail/src/main/java/com/sun/mail/util/
H A DLineOutputStream.java46 * This class is to support writing out Strings as a sequence of bytes
50 * The expected use is to write out RFC822 style headers to an output
65 public LineOutputStream(OutputStream out) { argument
66 super(out);
71 out.write(bytes);
72 out.write(newline);
76 out.write(newline);
H A DBEncoderStream.java57 * @param out the output stream
59 public BEncoderStream(OutputStream out) { argument
60 super(out, Integer.MAX_VALUE); // MAX_VALUE is 2^31, should
H A DQEncoderStream.java60 * @param out the output stream
64 public QEncoderStream(OutputStream out, boolean encodingWord) { argument
65 super(out, Integer.MAX_VALUE); // MAX_VALUE is 2^31, should
115 QEncoderStream encoder = new QEncoderStream(System.out);
H A DTraceOutputStream.java50 * stuff thats being written out into the DataOutputStream.
64 * @param out the underlying output stream.
67 public TraceOutputStream(OutputStream out, MailLogger logger) { argument
68 super(out);
77 * @param out the underlying output stream.
80 public TraceOutputStream(OutputStream out, OutputStream traceOut) { argument
81 super(out);
104 * Writes out the byte into the trace stream if the trace mode
117 out.write(b);
122 * Writes out th
[all...]
H A DUUEncoderStream.java49 * is done as the bytes are written out.
65 * @param out the output stream
67 public UUEncoderStream(OutputStream out) { argument
68 this(out, "encoder.buf", 0644);
73 * @param out the output stream
76 public UUEncoderStream(OutputStream out, String name) { argument
77 this(out, name, 0644);
82 * @param out the output stream
86 public UUEncoderStream(OutputStream out, String name, int mode) { argument
87 super(out);
[all...]
H A DBASE64EncoderStream.java49 * is done as the bytes are written out.
69 * @param out the output stream
76 public BASE64EncoderStream(OutputStream out, int bytesPerLine) { argument
77 super(out);
100 * @param out the output stream
102 public BASE64EncoderStream(OutputStream out) { argument
103 this(out, 76);
133 out.write(encode(b, off, blen, outbuf), 0, outlen);
140 out.write(encode(b, off, lineLimit, outbuf));
148 out
[all...]
H A DQPEncoderStream.java49 * is done as the bytes are written out.
62 * @param out the output stream
67 public QPEncoderStream(OutputStream out, int bytesPerLine) { argument
68 super(out);
77 * @param out the output stream
79 public QPEncoderStream(OutputStream out) { argument
80 this(out, 76);
148 * to be encoded out to the stream.
156 out.flush();
160 * Forces any buffered output bytes to be encoded out t
[all...]
H A DMailLogger.java83 private final PrintStream out; field in class:MailLogger
92 * @param out the PrintStream to write to
95 PrintStream out) {
99 this.out = out != null ? out : System.out;
110 * @param out the PrintStream to write to
113 PrintStream out) {
118 this.out
94 MailLogger(String name, String prefix, boolean debug, PrintStream out) argument
112 MailLogger(Class<?> clazz, String prefix, boolean debug, PrintStream out) argument
132 MailLogger(Class<?> clazz, String subname, String prefix, boolean debug, PrintStream out) argument
[all...]
/javamail/mail/src/main/java/com/sun/mail/imap/protocol/
H A DBASE64MailboxEncoder.java105 protected Writer out = null; field in class:BASE64MailboxEncoder
135 // use a B64MailboxEncoder to write out the other bytes
136 // as a modified BASE64. The stream will write out
168 out = what;
173 // write out the initial character if this is the first time
176 out.write('&');
203 out.write('-');
218 out.write(pem_array[(a >>> 2) & 0x3F]);
219 out.write(pem_array[((a << 4) & 0x30) + ((b >>> 4) & 0xf)]);
225 out
[all...]
H A DIMAPProtocol.java166 * @param out the PrintStream to which to write
171 public IMAPProtocol(InputStream in, PrintStream out, argument
174 super(in, out, props, debug);
574 os.write(bos.toByteArray()); // write out line
684 os.write(bos.toByteArray()); // write out line
875 os.write(b); // write out response
1576 * HACK ALERT: We want the flag_list to be written out
1581 * does not do any checking/processing - it just writes out
1583 * dumps out its argument.
3229 // the DONE command to break out o
[all...]
/javamail/logging/src/main/java/
H A DFileErrorManager.java213 FileOutputStream out = null;
217 out = new FileOutputStream(tmp);
227 PrintStream ps = new PrintStream(wrap(out), false, "US-ASCII");
233 close(out);
241 * @param out closes the given stream.
243 private void close(OutputStream out) { argument
244 if (out != null) {
246 out.close();
248 super.error(out.toString(), IOE, ErrorManager.CLOSE_FAILURE);
303 * @param out th
306 wrap(OutputStream out) argument
[all...]
/javamail/android/activation/src/main/java/javax/activation/
H A DMimeType.java107 * A routine for parsing the MIME type out of a String.
285 * @param out the ObjectOutput object to write to
288 public void writeExternal(ObjectOutput out) throws IOException { argument
289 out.writeUTF(toString());
290 out.flush();
347 System.out.println("Original: " + args[i]);
351 System.out.println("Short: " + type.getBaseType());
352 System.out.println("Parsed: " + type.toString());
353 System.out.println();
/javamail/mail/src/main/java/com/sun/mail/auth/
H A DMD4.java119 byte[] out = new byte[16];
120 implDigest(out, 0);
121 return out;
142 private void implDigest(byte[] out, int ofs) { argument
161 //i2bLittle(state, 0, out, ofs, 16);
164 out[ofs++] = (byte)x;
165 out[ofs++] = (byte)(x>>8);
166 out[ofs++] = (byte)(x>>16);
167 out[ofs++] = (byte)(x>>24);
/javamail/servlet/src/main/java/
H A DJavaMailServlet.java86 ServletOutputStream out = res.getOutputStream();
88 out.println("<html><body bgcolor=\"#CCCCFF\">");
92 send(req, res, out, ssn);
124 System.out.println("Login from: " + store.getURLName());
132 out.print("<center>");
133 out.print("<font face=\"Arial,Helvetica\" font size=+3>");
134 out.println("<b>Welcome to JavaMail!</b></font></center><p>");
137 out.println("<table width=\"50%\" border=0 align=center>");
139 out.print("<tr><td width=\"75%\" bgcolor=\"#ffffcc\">");
140 out
241 displayMessage(MailUserData mud, HttpServletRequest req, ServletOutputStream out, int msgNum) argument
293 displayPart(MailUserData mud, int msgNum, Part part, int partNum, HttpServletRequest req, ServletOutputStream out) argument
346 displayPart(MailUserData mud, int msgNum, int partNum, ServletOutputStream out, HttpServletResponse res) argument
382 displayMessageHeaders(MailUserData mud, Message msg, ServletOutputStream out) argument
435 displayHeaders(MailUserData mud, HttpServletRequest req, ServletOutputStream out) argument
534 compose(MailUserData mud, HttpServletResponse res, ServletOutputStream out) argument
546 send(HttpServletRequest req, HttpServletResponse res, ServletOutputStream out, HttpSession ssn) argument
[all...]
/javamail/mail/src/main/java/com/sun/mail/iap/
H A DProtocol.java162 * @param out the PrintStream to write to
167 public Protocol(InputStream in, PrintStream out, Properties props, argument
172 logger = new MailLogger(this.getClass(), "DEBUG", debug, System.out);
180 traceOutput = new TraceOutputStream(out, traceLogger);
/javamail/mail/src/main/java/javax/mail/
H A DSession.java191 private PrintStream out; // debug output stream field in class:Session
401 * If <code>out</code> is null, <code>System.out</code> will be used.
404 * will always be sent to <code>System.out</code>.
406 * @param out the PrintStream to use for debugging output
409 public synchronized void setDebugOut(PrintStream out) { argument
410 this.out = out;
416 * has been set, <code>System.out</code> is returned.
422 if (out
[all...]

Completed in 117 milliseconds