public class MemoryFile extends Object
| Constructor and Description |
|---|
MemoryFile(String name,
int length) |
| Modifier and Type | Method and Description |
|---|---|
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) |
public MemoryFile(String name, int length) throws IOException
IOExceptionpublic void close()
public 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
IOExceptionpublic void writeBytes(byte[] buffer,
int srcOffset,
int destOffset,
int count)
throws IOException
IOExceptionCopyright © 2008-2013. All Rights Reserved.