
com.venky.cache.ChannelOutputStream Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of common Show documentation
Show all versions of common Show documentation
Commonly used programming tasks in java
The newest version!
package com.venky.cache;
import java.io.IOException;
import java.io.OutputStream;
import java.io.RandomAccessFile;
import java.nio.channels.Channel;
import java.nio.channels.SeekableByteChannel;
public class ChannelOutputStream extends OutputStream {
Store store = null;
public ChannelOutputStream(Store store) {
this.store = store;
}
@Override
public void write(int b) throws IOException {
store.write(b);
}
@Override
public void write(byte b[], int off, int len) throws IOException {
store.write(b,off,len);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy