public class RegionFile extends Object
Constructor and Description |
---|
RegionFile(File par1File) |
Modifier and Type | Method and Description |
---|---|
void |
close()
close this RegionFile and prevent further writes
|
DataInputStream |
getChunkDataInputStream(int par1,
int par2)
args: x, y - get uncompressed chunk stream from the region file
|
DataOutputStream |
getChunkDataOutputStream(int par1,
int par2)
args: x, z - get an output stream used to write chunk data, data is on disk when the returned stream is closed
|
boolean |
isChunkSaved(int par1,
int par2)
args: x, z, - true if chunk has been saved / converted
|
public RegionFile(File par1File)
public DataInputStream getChunkDataInputStream(int par1, int par2)
public DataOutputStream getChunkDataOutputStream(int par1, int par2)
public boolean isChunkSaved(int par1, int par2)
public void close() throws IOException
IOException