android.os
Class MemoryFile
java.lang.Object
android.os.MemoryFile
public class MemoryFile
- extends Object
MemoryFile
public MemoryFile(String name,
int length)
throws IOException
- Throws:
IOException
close
public void close()
finalize
protected void finalize()
- Overrides:
finalize
in class Object
length
public int length()
isPurgingAllowed
public boolean isPurgingAllowed()
allowPurging
public boolean allowPurging(boolean allowPurging)
throws IOException
- Throws:
IOException
getInputStream
public InputStream getInputStream()
getOutputStream
public OutputStream getOutputStream()
readBytes
public int readBytes(byte[] buffer,
int srcOffset,
int destOffset,
int count)
throws IOException
- Throws:
IOException
writeBytes
public void writeBytes(byte[] buffer,
int srcOffset,
int destOffset,
int count)
throws IOException
- Throws:
IOException
Copyright © 2008-2010. All Rights Reserved.