All Packages Class Hierarchy This Package Previous Next Index
java.lang.Object | +----org.jos.fs.util.CachedMedium
This is a thread-safe class (as required by org.jos.fs.Medium).
public CachedMedium(Medium medium, int blockSize, int maxCacheSize)
public int getFlags()
public long getSize()
public void readBytes(long ofs, byte[] buf, int bOfs, int count) throws IOException, IllegalArgumentException
public void writeBytes(long ofs, byte[] buf, int bOfs, int count) throws IOException, UnsupportedFeatureException
public void flush() throws IOException
public void eject() throws VetoException, IOException, UnsupportedFeatureException
public void remount() throws IOException, UnsupportedFeatureException
public boolean isRemoved()
public void addMediumListener(MediumListener l)
public void removeMediumListener(MediumListener l)
public void mediumWillEject(MediumEvent evt) throws VetoException
public void mediumEjects(MediumEvent evt) throws IOException
public String toString()
All Packages Class Hierarchy This Package Previous Next Index