FileChannelImpl.java: New class, renamed from java/nio/channels.
authorPer Bothner <bothner@gcc.gnu.org>
Sun, 29 Feb 2004 19:09:28 +0000 (11:09 -0800)
committerPer Bothner <bothner@gcc.gnu.org>
Sun, 29 Feb 2004 19:09:28 +0000 (11:09 -0800)
commit612e6609875599726838087b64e1ec6d6c8ee4e9
treeb807dd37aa1642e417973a55531593d81aa3ef7f
parent2f537af9e7c0463134c31431c60de13ca5729183
FileChannelImpl.java: New class, renamed from java/nio/channels.

* gnu/java/nio/channels/FileChannelImpl.java:  New class, renamed
from java/nio/channels.  Don't depend on FileDescriptor.
(in, out, err):  New static fields.
(mode):  New field.
(SET, CUR, READ, WRITE, APPEND, EXCL, SYNC, DSYNC):  Moved constants
from FileDescriptor.
(by):  Removed MappedByteBuffer field.
(map):  New working implementation.
* gnu/java/nio/channels/natFileChannelPosix.cc:  New file, though
some code "ported" from natFileDescriptoPosix.cc.
* gnu/java/nio/channels/natFileChannelEcos.cc:  Likewise.
* gnu/java/nio/channels/natFileChannelWin32.cc  Likewise.

From-SVN: r78659
libjava/gnu/java/nio/channels/FileChannelImpl.java [new file with mode: 0644]
libjava/gnu/java/nio/channels/natFileChannelEcos.cc [new file with mode: 0644]
libjava/gnu/java/nio/channels/natFileChannelPosix.cc [new file with mode: 0644]
libjava/gnu/java/nio/channels/natFileChannelWin32.cc [new file with mode: 0644]