public class RegionFileCache
extends java.lang.Object
Constructor and Description |
---|
RegionFileCache() |
Modifier and Type | Method and Description |
---|---|
static boolean |
chunkExists(java.io.File worldDir,
int chunkX,
int chunkZ) |
static void |
clearRegionFileReferences() |
static RegionFile |
createOrLoadRegionFile(java.io.File worldDir,
int chunkX,
int chunkZ) |
static java.io.DataInputStream |
getChunkInputStream(java.io.File worldDir,
int chunkX,
int chunkZ) |
static java.io.DataOutputStream |
getChunkOutputStream(java.io.File worldDir,
int chunkX,
int chunkZ) |
static RegionFile |
getRegionFileIfExists(java.io.File worldDir,
int chunkX,
int chunkZ) |
public static RegionFile createOrLoadRegionFile(java.io.File worldDir, int chunkX, int chunkZ)
public static RegionFile getRegionFileIfExists(java.io.File worldDir, int chunkX, int chunkZ)
public static void clearRegionFileReferences()
public static java.io.DataInputStream getChunkInputStream(java.io.File worldDir, int chunkX, int chunkZ)
public static java.io.DataOutputStream getChunkOutputStream(java.io.File worldDir, int chunkX, int chunkZ)
public static boolean chunkExists(java.io.File worldDir, int chunkX, int chunkZ)