public class FileLegacyChunkStore extends LegacyChunkStore
CHUNK_SHIFTS
Constructor and Description |
---|
FileLegacyChunkStore(java.io.File path)
Create an instance.
|
Modifier and Type | Method and Description |
---|---|
protected java.io.InputStream |
getInputStream(java.lang.String f1,
java.lang.String f2,
java.lang.String name)
Get the input stream for a chunk file.
|
boolean |
isValid()
Returns whether the chunk store is of this type.
|
getChunkTag, getFilename, getFilename
close, getChunk, toChunk
public FileLegacyChunkStore(java.io.File path)
path
- path to a folderprotected java.io.InputStream getInputStream(java.lang.String f1, java.lang.String f2, java.lang.String name) throws DataException, java.io.IOException
getInputStream
in class LegacyChunkStore
f1
- the first part of the pathnamef2
- the second part of the pathnamename
- the name of the fileDataException
java.io.IOException
public boolean isValid()
ChunkStore
isValid
in class ChunkStore