android.os
Class MemoryFile

java.lang.Object
  extended by android.os.MemoryFile

public class MemoryFile
extends Object


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

MemoryFile

public MemoryFile(String name,
                  int length)
           throws IOException
Throws:
IOException
Method Detail

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.