import java.io.*; public class BasicTapeDevice { public TapeDevice(String pathName) throws IOException { ... } public synchronized void close() throws IOException { ... } public InputStream getInputStream() throws IOException { ... } public OutputStream getOutputStream() throws IOException { public int getBlockSize() throws IOException { ... } public void setBlockSize(int bs) throws IOException { ... } public void rewind() throws IOException { ... } public void spaceEOD() throws IOException { ... } public void clearEOF() throws IOException { ... } public void clearEOM() throws IOException { ... } /* ... */ }
Example 1: BasicTapeDevice interface.