|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectandroid.os.MemoryFile
public class MemoryFile
| Constructor Summary | |
|---|---|
MemoryFile(String name,
int length)
|
|
| Method Summary | |
|---|---|
boolean |
allowPurging(boolean allowPurging)
|
void |
close()
|
protected void |
finalize()
|
InputStream |
getInputStream()
|
OutputStream |
getOutputStream()
|
boolean |
isPurgingAllowed()
|
int |
length()
|
int |
readBytes(byte[] buffer,
int srcOffset,
int destOffset,
int count)
|
void |
writeBytes(byte[] buffer,
int srcOffset,
int destOffset,
int count)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MemoryFile(String name,
int length)
throws IOException
IOException| Method Detail |
|---|
public void close()
protected void finalize()
finalize in class Objectpublic int length()
public boolean isPurgingAllowed()
public boolean allowPurging(boolean allowPurging)
throws IOException
IOExceptionpublic InputStream getInputStream()
public OutputStream getOutputStream()
public int readBytes(byte[] buffer,
int srcOffset,
int destOffset,
int count)
throws IOException
IOException
public void writeBytes(byte[] buffer,
int srcOffset,
int destOffset,
int count)
throws IOException
IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||