]> gerrit.simantics Code Review - simantics/platform.git/blob - bundles/org.simantics.databoard/src/org/simantics/databoard/util/binary/NullBinaryWriteable.java
Migrated source code from Simantics SVN
[simantics/platform.git] / bundles / org.simantics.databoard / src / org / simantics / databoard / util / binary / NullBinaryWriteable.java
1 /*******************************************************************************\r
2  * Copyright (c) 2016 Association for Decentralized Information Management\r
3  * in Industry THTH ry.\r
4  * All rights reserved. This program and the accompanying materials\r
5  * are made available under the terms of the Eclipse Public License v1.0\r
6  * which accompanies this distribution, and is available at\r
7  * http://www.eclipse.org/legal/epl-v10.html\r
8  *\r
9  * Contributors:\r
10  *     Semantum Oy - initial API and implementation\r
11  *******************************************************************************/\r
12 package org.simantics.databoard.util.binary;\r
13 \r
14 import java.io.IOException;\r
15 import java.nio.ByteBuffer;\r
16 \r
17 /**\r
18  * @author Tuukka Lehtonen\r
19  * @since 1.22.1 & 1.24.0\r
20  */\r
21 public class NullBinaryWriteable implements BinaryWriteable {\r
22 \r
23     @Override\r
24     public void writeFully(ByteBuffer src) throws IOException {\r
25     }\r
26 \r
27     @Override\r
28     public void writeFully(ByteBuffer src, int length) throws IOException {\r
29     }\r
30 \r
31     @Override\r
32     public void write(int b) throws IOException {\r
33     }\r
34 \r
35     @Override\r
36     public void write(byte[] b) throws IOException {\r
37     }\r
38 \r
39     @Override\r
40     public void write(byte[] b, int off, int len) throws IOException {\r
41     }\r
42 \r
43     @Override\r
44     public void writeBoolean(boolean v) throws IOException {\r
45     }\r
46 \r
47     @Override\r
48     public void writeByte(int v) throws IOException {\r
49     }\r
50 \r
51     @Override\r
52     public void writeShort(int v) throws IOException {\r
53     }\r
54 \r
55     @Override\r
56     public void writeChar(int v) throws IOException {\r
57     }\r
58 \r
59     @Override\r
60     public void writeInt(int v) throws IOException {\r
61     }\r
62 \r
63     @Override\r
64     public void writeLong(long v) throws IOException {\r
65     }\r
66 \r
67     @Override\r
68     public void writeFloat(float v) throws IOException {\r
69     }\r
70 \r
71     @Override\r
72     public void writeDouble(double v) throws IOException {\r
73     }\r
74 \r
75     @Override\r
76     public void writeBytes(String s) throws IOException {\r
77     }\r
78 \r
79     @Override\r
80     public void writeChars(String s) throws IOException {\r
81     }\r
82 \r
83     @Override\r
84     public void writeUTF(String s) throws IOException {\r
85     }\r
86 \r
87     @Override\r
88     public void flush() throws IOException {\r
89     }\r
90 \r
91 }\r