ByteBufferSeekableByteChannel
instead.@Deprecated public class InputStreamSeekableChannel extends Object implements org.jcodec.common.SeekableByteChannel
Constructor and Description |
---|
InputStreamSeekableChannel(InputStream is)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
close()
Deprecated.
|
boolean |
isOpen()
Deprecated.
|
long |
position()
Deprecated.
|
org.jcodec.common.SeekableByteChannel |
position(long newPosition)
Deprecated.
|
int |
read(ByteBuffer arg0)
Deprecated.
|
long |
size()
Deprecated.
|
org.jcodec.common.SeekableByteChannel |
truncate(long size)
Deprecated.
|
int |
write(ByteBuffer arg0)
Deprecated.
|
public InputStreamSeekableChannel(InputStream is) throws FileNotFoundException
FileNotFoundException
public int read(ByteBuffer arg0) throws IOException
read
in interface ReadableByteChannel
IOException
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
close
in interface Channel
IOException
public int write(ByteBuffer arg0) throws IOException
write
in interface WritableByteChannel
IOException
public long position() throws IOException
position
in interface org.jcodec.common.SeekableByteChannel
IOException
public org.jcodec.common.SeekableByteChannel position(long newPosition) throws IOException
position
in interface org.jcodec.common.SeekableByteChannel
IOException
public long size() throws IOException
size
in interface org.jcodec.common.SeekableByteChannel
IOException
public org.jcodec.common.SeekableByteChannel truncate(long size) throws IOException
truncate
in interface org.jcodec.common.SeekableByteChannel
IOException
Copyright © 2017 Magnolia International Ltd.. All rights reserved.