1
2
3
4 package org.waarp.ftp.client;
5
6 import java.io.IOException;
7 import java.io.OutputStream;
8
9
10
11
12
13
14
15 public class NullOutputStream extends OutputStream {
16
17
18
19
20 public NullOutputStream() {
21 }
22
23 @Override
24 public void close() throws IOException {
25 }
26
27 @Override
28 public void flush() throws IOException {
29 }
30
31 @Override
32 public void write(byte[] b, int off, int len) throws IOException {
33 }
34
35 @Override
36 public void write(byte[] b) throws IOException {
37 }
38
39 @Override
40 public void write(int b) throws IOException {
41 }
42
43 }