diff options
Diffstat (limited to 'libjava/gnu/java/nio/natMappedByteFileBuffer.cc')
| -rw-r--r-- | libjava/gnu/java/nio/natMappedByteFileBuffer.cc | 140 |
1 files changed, 140 insertions, 0 deletions
diff --git a/libjava/gnu/java/nio/natMappedByteFileBuffer.cc b/libjava/gnu/java/nio/natMappedByteFileBuffer.cc new file mode 100644 index 00000000000..6f2eee2107d --- /dev/null +++ b/libjava/gnu/java/nio/natMappedByteFileBuffer.cc @@ -0,0 +1,140 @@ +// natMappedByteFileBuffer.cc + +/* Copyright (C) 2003 Free Software Foundation + + This file is part of libgcj. + +This software is copyrighted work licensed under the terms of the +Libgcj License. Please consult the file "LIBGCJ_LICENSE" for +details. */ + +#include <config.h> + +#include <jvm.h> + +#include <errno.h> +#include <string.h> +#include <sys/types.h> + +#ifdef HAVE_UNISTD_H +#include <unistd.h> +#endif + +#ifdef HAVE_FCNTL_H +#include <fcntl.h> +#endif + +#include <gnu/java/nio/MappedByteFileBuffer.h> +#include <java/lang/Error.h> + +jbyte +gnu::java::nio::MappedByteFileBuffer::nio_read_Byte_file_channel + (gnu::java::nio::FileChannelImpl*, + jint, jint, jlong) +{ + throw new ::java::lang::Error (_Jv_NewStringUTF ("not implemented")); +} + +jchar +gnu::java::nio::MappedByteFileBuffer::nio_read_Char_file_channel + (gnu::java::nio::FileChannelImpl*, + jint, jint, jlong) +{ + throw new ::java::lang::Error (_Jv_NewStringUTF ("not implemented")); +} + +jdouble +gnu::java::nio::MappedByteFileBuffer::nio_read_Double_file_channel + (gnu::java::nio::FileChannelImpl*, + jint, jint, jlong) +{ + throw new ::java::lang::Error (_Jv_NewStringUTF ("not implemented")); +} + +jfloat +gnu::java::nio::MappedByteFileBuffer::nio_read_Float_file_channel + (gnu::java::nio::FileChannelImpl*, + jint, jint, jlong) +{ + throw new ::java::lang::Error (_Jv_NewStringUTF ("not implemented")); +} + +jint +gnu::java::nio::MappedByteFileBuffer::nio_read_Int_file_channel + (gnu::java::nio::FileChannelImpl*, + jint, jint, jlong) +{ + throw new ::java::lang::Error (_Jv_NewStringUTF ("not implemented")); +} + +jlong +gnu::java::nio::MappedByteFileBuffer::nio_read_Long_file_channel + (gnu::java::nio::FileChannelImpl*, + jint, jint, jlong) +{ + throw new ::java::lang::Error (_Jv_NewStringUTF ("not implemented")); +} + +jshort +gnu::java::nio::MappedByteFileBuffer::nio_read_Short_file_channel + (gnu::java::nio::FileChannelImpl*, + jint, jint, jlong) +{ + throw new ::java::lang::Error (_Jv_NewStringUTF ("not implemented")); +} + +void +gnu::java::nio::MappedByteFileBuffer::nio_write_Byte_file_channel + (gnu::java::nio::FileChannelImpl*, + jint, jint, jbyte, jlong) +{ + throw new ::java::lang::Error (_Jv_NewStringUTF ("not implemented")); +} + +void +gnu::java::nio::MappedByteFileBuffer::nio_write_Char_file_channel + (gnu::java::nio::FileChannelImpl*, + jint, jint, jchar, jlong) +{ + throw new ::java::lang::Error (_Jv_NewStringUTF ("not implemented")); +} + +void +gnu::java::nio::MappedByteFileBuffer::nio_write_Double_file_channel + (gnu::java::nio::FileChannelImpl*, + jint, jint, jdouble, jlong) +{ + throw new ::java::lang::Error (_Jv_NewStringUTF ("not implemented")); +} + +void +gnu::java::nio::MappedByteFileBuffer::nio_write_Float_file_channel + (gnu::java::nio::FileChannelImpl*, + jint, jint, jfloat, jlong) +{ + throw new ::java::lang::Error (_Jv_NewStringUTF ("not implemented")); +} + +void +gnu::java::nio::MappedByteFileBuffer::nio_write_Int_file_channel + (gnu::java::nio::FileChannelImpl*, + jint, jint, jint, jlong) +{ + throw new ::java::lang::Error (_Jv_NewStringUTF ("not implemented")); +} + +void +gnu::java::nio::MappedByteFileBuffer::nio_write_Long_file_channel + (gnu::java::nio::FileChannelImpl*, + jint, jint, jlong, jlong) +{ + throw new ::java::lang::Error (_Jv_NewStringUTF ("not implemented")); +} + +void +gnu::java::nio::MappedByteFileBuffer::nio_write_Short_file_channel + (gnu::java::nio::FileChannelImpl*, + jint, jint, jshort, jlong) +{ + throw new ::java::lang::Error (_Jv_NewStringUTF ("not implemented")); +} |

