MCPcopy Create free account
hub / github.com/M66B/FairEmail / initStreams

Method initStreams

app/src/main/java/com/sun/mail/pop3/Protocol.java:181–198  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

179 }
180
181 private void initStreams() throws IOException {
182 boolean quote = PropUtil.getBooleanProperty(props,
183 "mail.debug.quote", false);
184 traceInput =
185 new TraceInputStream(socket.getInputStream(), traceLogger);
186 traceInput.setQuote(quote);
187
188 traceOutput =
189 new TraceOutputStream(socket.getOutputStream(), traceLogger);
190 traceOutput.setQuote(quote);
191
192 // should be US-ASCII, but not all JDK's support it so use iso-8859-1
193 input = new BufferedReader(new InputStreamReader(traceInput,
194 "iso-8859-1"));
195 output = new PrintWriter(
196 new BufferedWriter(
197 new OutputStreamWriter(traceOutput, "iso-8859-1")));
198 }
199
200 @Override
201 protected void finalize() throws Throwable {

Callers 2

ProtocolMethod · 0.95
stlsMethod · 0.95

Calls 4

getBooleanPropertyMethod · 0.95
getInputStreamMethod · 0.65
getOutputStreamMethod · 0.65
setQuoteMethod · 0.45

Tested by

no test coverage detected