MCPcopy Create free account
hub / github.com/ReadyTalk/avian / FileChannel

Class FileChannel

classpath/java/nio/channels/FileChannel.java:16–35  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

14import java.nio.ByteBuffer;
15
16public abstract class FileChannel implements Channel {
17
18 public static enum MapMode {
19 PRIVATE, READ_ONLY, READ_WRITE
20 };
21
22 public abstract int read(ByteBuffer dst) throws IOException;
23
24 public abstract int read(ByteBuffer dst, long position) throws IOException;
25
26 public abstract int write(ByteBuffer dst) throws IOException;
27
28 public abstract int write(ByteBuffer dst, long position) throws IOException;
29
30 public abstract long position() throws IOException;
31
32 public abstract FileChannel position(long position) throws IOException;
33
34 public abstract long size() throws IOException;
35}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected