1 31 package org.pdfbox.io; 32 33 import java.io.IOException ; 34 35 42 public interface RandomAccess 43 { 44 45 50 public void close() throws IOException ; 51 52 58 public void seek(long position) throws IOException ; 59 60 67 public int read() throws IOException ; 68 69 78 public int read(byte[] b, int offset, int length) throws IOException ; 79 80 88 public long length() throws IOException ; 89 90 96 public void write(int b) throws IOException ; 97 98 106 public void write(byte[] b, int offset, int length) throws IOException ; 107 108 } | Popular Tags |