Class RandomAccessMemoryCache
- java.lang.Object
-
- com.tom_roush.harmony.javax.imageio.stream.RandomAccessMemoryCache
-
public final class RandomAccessMemoryCache extends Object
-
-
Constructor Summary
Constructors Constructor Description RandomAccessMemoryCache()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intappendData(InputStream is, int count)voidclose()voidfreeBefore(long pos)intgetData(byte[] buffer, int offset, int count, long pos)intgetData(long pos)voidgetData(OutputStream os, int count, long pos)longlength()voidputData(byte[] buffer, int offset, int count, long pos)voidputData(int oneByte, long pos)
-
-
-
Method Detail
-
length
public long length()
-
close
public void close()
-
putData
public void putData(int oneByte, long pos)
-
putData
public void putData(byte[] buffer, int offset, int count, long pos)
-
getData
public int getData(long pos)
-
getData
public int getData(byte[] buffer, int offset, int count, long pos)
-
freeBefore
public void freeBefore(long pos)
-
appendData
public int appendData(InputStream is, int count) throws IOException
- Throws:
IOException
-
getData
public void getData(OutputStream os, int count, long pos) throws IOException
- Throws:
IOException
-
-