1 24 25 package com.mckoi.store; 26 27 import java.io.IOException ; 28 29 35 36 public interface Area { 37 38 41 long getID(); 42 43 47 int position(); 48 49 52 int capacity(); 53 54 57 void position(int position) throws IOException ; 58 59 63 void copyTo(AreaWriter destination_writer, int size) throws IOException ; 64 65 69 byte get() throws IOException ; 70 71 void get(byte[] buf, int off, int len) throws IOException ; 72 73 short getShort() throws IOException ; 74 75 int getInt() throws IOException ; 76 77 long getLong() throws IOException ; 78 79 char getChar() throws IOException ; 80 81 } 82 83 | Popular Tags |