Class FileCacheSeekableStream.FileCache

java.lang.Object
com.twelvemonkeys.io.AbstractCachedSeekableStream.StreamCache
com.twelvemonkeys.io.FileCacheSeekableStream.FileCache
Enclosing class:
FileCacheSeekableStream

static final class FileCacheSeekableStream.FileCache extends AbstractCachedSeekableStream.StreamCache
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    FileCache(File pFile)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    (package private) void
     
    long
    Returns the current cache read/write position.
    int
    Reads a single byte a the current read/write position.
    int
    read(byte[] pBuffer, int pOffset, int pLength)
    Writes a series of bytes at the current read/write position.
    void
    seek(long pPosition)
    Repositions the current cache read/write position to the given position.
    void
    write(byte[] pBuffer, int pOffset, int pLength)
    Writes a series of bytes at the current read/write position.
    void
    write(int pByte)
    Writes a single byte at the current read/write position.

    Methods inherited from class com.twelvemonkeys.io.AbstractCachedSeekableStream.StreamCache

    flush

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait