1 16 package org.apache.commons.vfs; 17 18 import java.io.DataInput ; 19 import java.io.DataOutput ; 20 import java.io.IOException ; 21 import java.io.InputStream ; 22 23 28 public interface RandomAccessContent extends DataOutput , DataInput  29 { 30 37 public long getFilePointer() throws IOException ; 38 39 55 public void seek(long pos) throws IOException ; 56 57 63 public long length() throws IOException ; 64 65 76 public void close() throws IOException ; 77 78 84 public InputStream getInputStream() throws IOException ; 85 } 86 | Popular Tags |