public class TrueZipLegacyChunkStore extends LegacyChunkStore
CHUNK_SHIFTS| Constructor and Description |
|---|
TrueZipLegacyChunkStore(File zipFile)
Create an instance.
|
TrueZipLegacyChunkStore(File zipFile,
String folder)
Create an instance.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Close resources.
|
protected InputStream |
getInputStream(String f1,
String f2,
String name)
Get the input stream for a chunk file.
|
boolean |
isValid()
Returns whether the chunk store is of this type.
|
getChunkTag, getFilename, getFilenamegetChunk, toChunkpublic TrueZipLegacyChunkStore(File zipFile, String folder) throws IOException, ZipException
zipFile - folder - IOExceptionZipExceptionpublic TrueZipLegacyChunkStore(File zipFile) throws IOException, ZipException
zipFile - IOExceptionZipExceptionprotected InputStream getInputStream(String f1, String f2, String name) throws IOException, DataException
getInputStream in class LegacyChunkStoref1 - f2 - name - IOExceptionDataExceptionpublic void close()
throws IOException
close in class ChunkStoreIOExceptionpublic boolean isValid()
ChunkStoreisValid in class ChunkStoreCopyright © 2010-2014. All Rights Reserved.