/[classpath]/classpath/gnu/java/nio/FileChannelImpl.java
ViewVC logotype

Diff of /classpath/gnu/java/nio/FileChannelImpl.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.5 by mkoch, Mon Nov 11 16:19:30 2002 UTC revision 1.6 by ericb, Fri Nov 15 14:24:48 2002 UTC
# Line 48  import java.nio.channels.*; Line 48  import java.nio.channels.*;
48   * Upon a Input/Output/RandomAccessFile object.   * Upon a Input/Output/RandomAccessFile object.
49   */   */
50    
51  public class FileChannelImpl  extends FileChannel  public class FileChannelImpl extends FileChannel
52  {  {
53      public long address;      public long address;
54      public int length;      public int length;
# Line 207  public class FileChannelImpl  extends Fi Line 207  public class FileChannelImpl  extends Fi
207      static native void nio_msync(int fd,      static native void nio_msync(int fd,
208                                   long address,                                   long address,
209                                   int length);                                   int length);
 }  
210    
211      public long write(ByteBuffer[] srcs) throws IOException {
212        throw new Error("not implemented");
213      }
214      public long read(ByteBuffer[] srcs, int offset, int length) throws IOException {
215        throw new Error("not implemented");
216      }
217      public long read(ByteBuffer[] srcs) throws IOException {
218        throw new Error("not implemented");
219      }
220    }

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.6

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26