Skip navigation links

Oracle Outside In Java API Reference
8.5.4

E91699-01


com.oracle.outsidein
Class SeekableByteChannel6ToBasicIO

java.lang.Object
  extended by 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.


Constructor Summary
SeekableByteChannel6ToBasicIO(SeekableByteChannel6 sbc)
           
SeekableByteChannel6ToBasicIO(SeekableByteChannel6 sbc, java.lang.String fileName)
           

 

Method Summary
 boolean canRead()
           
 boolean canWrite()
           
 void close()
           
 long getSize()
           
 java.io.File getUnderlyingFile()
           
 java.lang.String getUnderlyingFileName()
           
 void open()
           
 int readAt(long position, java.nio.ByteBuffer buf)
           
 void writeAt(long position, java.nio.ByteBuffer buf)
           

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

SeekableByteChannel6ToBasicIO

public SeekableByteChannel6ToBasicIO(SeekableByteChannel6 sbc)

SeekableByteChannel6ToBasicIO

public SeekableByteChannel6ToBasicIO(SeekableByteChannel6 sbc,
                                     java.lang.String fileName)

Method Detail

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

Oracle Outside In Java API Reference
8.5.4

E91699-01


Copyright © 2010, 2018, Oracle and/or its affiliates. All rights reserved.