Skip navigation links
com.oracle.outsidein
Class SeekableByteChannel6ToBasicIO
java.lang.Object
com.oracle.outsidein.SeekableByteChannel6ToBasicIO
- All Implemented Interfaces:
- net.bitform.oilink.BasicIO
-
public class SeekableByteChannel6ToBasicIO
- extends java.lang.Object
- implements net.bitform.oilink.BasicIO
Used internally by the Outside In API, and not to be used externally.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SeekableByteChannel6ToBasicIO
public SeekableByteChannel6ToBasicIO(SeekableByteChannel6 sbc)
SeekableByteChannel6ToBasicIO
public SeekableByteChannel6ToBasicIO(SeekableByteChannel6 sbc,
java.lang.String fileName)
open
public void open()
-
- Specified by:
open
in interface net.bitform.oilink.BasicIO
canRead
public boolean canRead()
-
- Specified by:
canRead
in interface net.bitform.oilink.BasicIO
canWrite
public boolean canWrite()
-
- Specified by:
canWrite
in interface net.bitform.oilink.BasicIO
readAt
public int readAt(long position,
java.nio.ByteBuffer buf)
throws java.io.IOException
-
- Specified by:
readAt
in interface net.bitform.oilink.BasicIO
-
- Throws:
java.io.IOException
writeAt
public void writeAt(long position,
java.nio.ByteBuffer buf)
throws java.io.IOException
-
- Specified by:
writeAt
in interface net.bitform.oilink.BasicIO
-
- Throws:
java.io.IOException
getSize
public long getSize()
throws java.io.IOException
-
- Specified by:
getSize
in interface net.bitform.oilink.BasicIO
-
- Throws:
java.io.IOException
close
public void close()
-
- Specified by:
close
in interface net.bitform.oilink.BasicIO
getUnderlyingFile
public java.io.File getUnderlyingFile()
-
- Specified by:
getUnderlyingFile
in interface net.bitform.oilink.BasicIO
getUnderlyingFileName
public java.lang.String getUnderlyingFileName()
-
- Specified by:
getUnderlyingFileName
in interface net.bitform.oilink.BasicIO
Skip navigation links
Copyright © 2010, 2018, Oracle and/or its affiliates. All rights reserved.