OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [libjava/] [java/] [nio/] [channels/] [FileChannel.h] - Blame information for rev 758

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 758 jeremybenn
 
2
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
3
 
4
#ifndef __java_nio_channels_FileChannel__
5
#define __java_nio_channels_FileChannel__
6
 
7
#pragma interface
8
 
9
#include <java/nio/channels/spi/AbstractInterruptibleChannel.h>
10
#include <gcj/array.h>
11
 
12
extern "Java"
13
{
14
  namespace java
15
  {
16
    namespace nio
17
    {
18
        class ByteBuffer;
19
        class MappedByteBuffer;
20
      namespace channels
21
      {
22
          class FileChannel;
23
          class FileChannel$MapMode;
24
          class FileLock;
25
          class ReadableByteChannel;
26
          class WritableByteChannel;
27
      }
28
    }
29
  }
30
}
31
 
32
class java::nio::channels::FileChannel : public ::java::nio::channels::spi::AbstractInterruptibleChannel
33
{
34
 
35
public: // actually protected
36
  FileChannel();
37
public:
38
  virtual ::java::nio::MappedByteBuffer * map(::java::nio::channels::FileChannel$MapMode *, jlong, jlong) = 0;
39
  virtual jlong size() = 0;
40
  virtual jlong write(JArray< ::java::nio::ByteBuffer * > *);
41
  virtual jint write(::java::nio::ByteBuffer *) = 0;
42
  virtual jint write(::java::nio::ByteBuffer *, jlong) = 0;
43
  virtual jlong write(JArray< ::java::nio::ByteBuffer * > *, jint, jint) = 0;
44
  virtual jlong read(JArray< ::java::nio::ByteBuffer * > *, jint, jint) = 0;
45
  virtual jlong read(JArray< ::java::nio::ByteBuffer * > *);
46
  virtual jint read(::java::nio::ByteBuffer *) = 0;
47
  virtual jint read(::java::nio::ByteBuffer *, jlong) = 0;
48
public: // actually protected
49
  virtual void implCloseChannel() = 0;
50
public:
51
  virtual void force(jboolean) = 0;
52
  virtual ::java::nio::channels::FileLock * lock();
53
  virtual ::java::nio::channels::FileLock * lock(jlong, jlong, jboolean) = 0;
54
  virtual ::java::nio::channels::FileLock * tryLock();
55
  virtual ::java::nio::channels::FileLock * tryLock(jlong, jlong, jboolean) = 0;
56
  virtual jlong position() = 0;
57
  virtual ::java::nio::channels::FileChannel * position(jlong) = 0;
58
  virtual jlong transferTo(jlong, jlong, ::java::nio::channels::WritableByteChannel *) = 0;
59
  virtual jlong transferFrom(::java::nio::channels::ReadableByteChannel *, jlong, jlong) = 0;
60
  virtual ::java::nio::channels::FileChannel * truncate(jlong) = 0;
61
  static ::java::lang::Class class$;
62
};
63
 
64
#endif // __java_nio_channels_FileChannel__

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.