javax.imageio.stream

Class FileCacheImageOutputStream

public class FileCacheImageOutputStream extends ImageOutputStreamImpl

Constructor Summary
FileCacheImageOutputStream(OutputStream s, File cacheDir)
Method Summary
voidclose()
voidflushBefore(long pos)
booleanisCached()
booleanisCachedFile()
booleanisCachedMemory()
longlength()
intread()
intread(byte[] data, int offset, int len)
voidseek(long pos)
voidwrite(byte[] data, int offset, int len)
voidwrite(int value)

Constructor Detail

FileCacheImageOutputStream

public FileCacheImageOutputStream(OutputStream s, File cacheDir)

Method Detail

close

public void close()

flushBefore

public void flushBefore(long pos)

isCached

public boolean isCached()

isCachedFile

public boolean isCachedFile()

isCachedMemory

public boolean isCachedMemory()

length

public long length()

read

public int read()

read

public int read(byte[] data, int offset, int len)

seek

public void seek(long pos)

write

public void write(byte[] data, int offset, int len)

write

public void write(int value)