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