krati.io
Interface DataWriter
- All Known Implementing Classes:
- ChannelWriter, FastDataWriter, MappedWriter
public interface DataWriter
DataWriter
- Author:
- jwu
getFile
File getFile()
open
void open()
throws IOException
- Throws:
IOException
close
void close()
throws IOException
- Throws:
IOException
flush
void flush()
throws IOException
- Throws:
IOException
writeInt
void writeInt(int value)
throws IOException
- Throws:
IOException
writeLong
void writeLong(long value)
throws IOException
- Throws:
IOException
writeShort
void writeShort(short value)
throws IOException
- Throws:
IOException
writeInt
void writeInt(long position,
int value)
throws IOException
- Throws:
IOException
writeLong
void writeLong(long position,
long value)
throws IOException
- Throws:
IOException
writeShort
void writeShort(long position,
short value)
throws IOException
- Throws:
IOException
position
long position()
throws IOException
- Throws:
IOException
position
void position(long newPosition)
throws IOException
- Throws:
IOException
Copyright © 2011. All Rights Reserved.