android.os
Class MemoryFile
java.lang.Object
android.os.MemoryFile
public class MemoryFile
- extends java.lang.Object
|
Constructor Summary |
MemoryFile(java.lang.String name,
int length)
|
| Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MemoryFile
public MemoryFile(java.lang.String name,
int length)
throws java.io.IOException
- Throws:
java.io.IOException
close
public void close()
finalize
protected void finalize()
- Overrides:
finalize in class java.lang.Object
length
public int length()
isPurgingAllowed
public boolean isPurgingAllowed()
allowPurging
public boolean allowPurging(boolean allowPurging)
throws java.io.IOException
- Throws:
java.io.IOException
getInputStream
public java.io.InputStream getInputStream()
getOutputStream
public java.io.OutputStream getOutputStream()
readBytes
public int readBytes(byte[] buffer,
int srcOffset,
int destOffset,
int count)
throws java.io.IOException
- Throws:
java.io.IOException
writeBytes
public void writeBytes(byte[] buffer,
int srcOffset,
int destOffset,
int count)
throws java.io.IOException
- Throws:
java.io.IOException
Copyright © 2008-2010. All Rights Reserved.