org.csc.phynixx.common.io
Class LogRecordWriter
java.lang.Object
org.csc.phynixx.common.io.LogRecordWriter
public class LogRecordWriter
- extends Object
Created by christoph on 12.01.14.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LogRecordWriter
public LogRecordWriter()
toByteArray
public byte[] toByteArray()
throws IOException
- Throws:
IOException
writeChar
public LogRecordWriter writeChar(int v)
throws IOException
- Throws:
IOException
writeShort
public LogRecordWriter writeShort(int v)
throws IOException
- Throws:
IOException
writeInt
public LogRecordWriter writeInt(int v)
throws IOException
- Throws:
IOException
writeLong
public LogRecordWriter writeLong(long v)
throws IOException
- Throws:
IOException
writeFloat
public LogRecordWriter writeFloat(float v)
throws IOException
- Throws:
IOException
writeDouble
public LogRecordWriter writeDouble(double v)
throws IOException
- Throws:
IOException
writeUTF
public LogRecordWriter writeUTF(String str)
throws IOException
- Throws:
IOException
writeByte
public LogRecordWriter writeByte(byte b)
throws IOException
- Throws:
IOException
writeBoolean
public LogRecordWriter writeBoolean(boolean v)
throws IOException
- Throws:
IOException
writeObject
public LogRecordWriter writeObject(Object object)
throws IOException
- write the object's class name to check the consistency if the restroe fails.
A null object is accepted
- Parameters:
object
- serializable object. it has to fullfill the requirements of ObjectOutputStream.writeObject(Object)
.
- Returns:
- returns the fluent API
- Throws:
IOException
close
public void close()
Copyright © 2015. All rights reserved.