Package org.duracloud.chunk
Class FileChunkerOptions
java.lang.Object
org.duracloud.chunk.FileChunkerOptions
This class is a simple container for configuration options for the
FileChunker.
- Author:
- Andrew Woods Date: Mar 17, 2010
-
Constructor Summary
ConstructorsConstructorDescriptionFileChunkerOptions(long maxChunkSize) FileChunkerOptions(long maxChunkSize, boolean ignoreLargeFiles) FileChunkerOptions(org.apache.commons.io.filefilter.IOFileFilter dirFilter, long maxChunkSize) FileChunkerOptions(org.apache.commons.io.filefilter.IOFileFilter fileFilter, org.apache.commons.io.filefilter.IOFileFilter dirFilter, long maxChunkSize) FileChunkerOptions(org.apache.commons.io.filefilter.IOFileFilter fileFilter, org.apache.commons.io.filefilter.IOFileFilter dirFilter, long maxChunkSize, boolean preserveChunkMD5s, boolean ignoreLargeFiles) -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.commons.io.filefilter.IOFileFilterorg.apache.commons.io.filefilter.IOFileFilterlongbooleanboolean
-
Constructor Details
-
FileChunkerOptions
public FileChunkerOptions() -
FileChunkerOptions
public FileChunkerOptions(long maxChunkSize) -
FileChunkerOptions
public FileChunkerOptions(org.apache.commons.io.filefilter.IOFileFilter dirFilter, long maxChunkSize) -
FileChunkerOptions
public FileChunkerOptions(long maxChunkSize, boolean ignoreLargeFiles) -
FileChunkerOptions
public FileChunkerOptions(org.apache.commons.io.filefilter.IOFileFilter fileFilter, org.apache.commons.io.filefilter.IOFileFilter dirFilter, long maxChunkSize) -
FileChunkerOptions
public FileChunkerOptions(org.apache.commons.io.filefilter.IOFileFilter fileFilter, org.apache.commons.io.filefilter.IOFileFilter dirFilter, long maxChunkSize, boolean preserveChunkMD5s, boolean ignoreLargeFiles)
-
-
Method Details
-
getFileFilter
public org.apache.commons.io.filefilter.IOFileFilter getFileFilter() -
getDirFilter
public org.apache.commons.io.filefilter.IOFileFilter getDirFilter() -
getMaxChunkSize
public long getMaxChunkSize() -
isPreserveChunkMD5s
public boolean isPreserveChunkMD5s() -
isIgnoreLargeFiles
public boolean isIgnoreLargeFiles()
-