A C D F G H I K M N O P R S V W 

A

addContent(String, String, String, File) - Method in class org.duracloud.chunk.FileChunker
This method pushes the content file to the space destSpaceId with the content ID destContentId
addContent(String, String, String, long, InputStream) - Method in class org.duracloud.chunk.FileChunker
This method pushes the content file to the space destSpaceId with the content ID destContentId
addContentFrom(File, String) - Method in class org.duracloud.chunk.FileChunker
This method loops the arg baseDir and pushes the found content to the arg destSpace.
AddContentResult - Class in org.duracloud.chunk.writer
 
AddContentResult(String, String, long) - Constructor for class org.duracloud.chunk.writer.AddContentResult
 
AddContentResult.State - Enum in org.duracloud.chunk.writer
 
addEntry(String, String, long) - Method in class org.duracloud.chunk.manifest.ChunksManifest
 

C

ChunkableContent - Class in org.duracloud.chunk
This class manages the provided content stream by breaking it chunks of the size specified by maxChunkSize.
ChunkableContent(String, InputStream, long, long) - Constructor for class org.duracloud.chunk.ChunkableContent
 
ChunkableContent(String, String, InputStream, long, long) - Constructor for class org.duracloud.chunk.ChunkableContent
 
ChunkInputStream - Class in org.duracloud.chunk.stream
This class provides the ability to limit the number of bytes read from the provided InputStream to maxChunkSize.
ChunkInputStream(String, InputStream, long, boolean) - Constructor for class org.duracloud.chunk.stream.ChunkInputStream
 
ChunksManifest - Class in org.duracloud.chunk.manifest
 
ChunksManifest(ChunksManifestBean) - Constructor for class org.duracloud.chunk.manifest.ChunksManifest
 
ChunksManifest(String, String, long) - Constructor for class org.duracloud.chunk.manifest.ChunksManifest
 
ChunksManifestBean - Class in org.duracloud.chunk.manifest
This class is a simple bean for a ChunksManifest.
ChunksManifestBean() - Constructor for class org.duracloud.chunk.manifest.ChunksManifestBean
 
ChunksManifestBean.ManifestEntry - Class in org.duracloud.chunk.manifest
Manifest Entry inner class.
ChunksManifestBean.ManifestEntry(String, String, int, long) - Constructor for class org.duracloud.chunk.manifest.ChunksManifestBean.ManifestEntry
 
ChunksManifestBean.ManifestHeader - Class in org.duracloud.chunk.manifest
Manifest Header inner class.
ChunksManifestBean.ManifestHeader(String, String, long) - Constructor for class org.duracloud.chunk.manifest.ChunksManifestBean.ManifestHeader
 
chunkSuffix - Static variable in class org.duracloud.chunk.manifest.ChunksManifest
 
ChunkUtil - Class in org.duracloud.chunk.util
This class provides chunk and manifest contentId helpers.
ChunkUtil() - Constructor for class org.duracloud.chunk.util.ChunkUtil
 
close() - Method in class org.duracloud.chunk.stream.ChunkInputStream
 
ContentNotAddedException - Exception in org.duracloud.chunk.error
 
ContentNotAddedException(String) - Constructor for exception org.duracloud.chunk.error.ContentNotAddedException
 
ContentNotAddedException(String, Exception) - Constructor for exception org.duracloud.chunk.error.ContentNotAddedException
 
ContentNotAddedException(String, String, Exception) - Constructor for exception org.duracloud.chunk.error.ContentNotAddedException
 
ContentWriter - Interface in org.duracloud.chunk.writer
 
CountingDigestInputStream - Class in org.duracloud.chunk.stream
This class combines the two InputStream implementations: - CountingInputStream & - DigestInputStream
CountingDigestInputStream(InputStream, boolean) - Constructor for class org.duracloud.chunk.stream.CountingDigestInputStream
The digest capabilities are turned off if the arg preserveMD5 is false
createChunksManifestElementFrom(ChunksManifestBean) - Static method in class org.duracloud.chunk.manifest.xml.ManifestElementWriter
This method serializes a ChunksManifest object into a ChunksManifest xml element.
createDocumentFrom(ChunksManifestBean) - Static method in class org.duracloud.chunk.manifest.xml.ManifestDocumentBinding
This method serializes the arg ChunksManifest object into an xml document.
createManifestFrom(InputStream) - Static method in class org.duracloud.chunk.manifest.xml.ManifestDocumentBinding
This method binds a ChunksManifest object to the content of the arg xml.
createManifestFrom(ChunksManifestDocument) - Static method in class org.duracloud.chunk.manifest.xml.ManifestElementReader
This method binds a ChunksManifest xml document to a ChunksManifest object
createTestContent(File, long) - Static method in class org.duracloud.chunk.FileChunker
This method generates a test file with random char content.

D

DuracloudContentWriter - Class in org.duracloud.chunk.writer
This class implements the ContentWriter interface to write the provided content to the Duracloud storeclient interface.
DuracloudContentWriter(ContentStore, String) - Constructor for class org.duracloud.chunk.writer.DuracloudContentWriter
 
DuracloudContentWriter(ContentStore, String, boolean) - Constructor for class org.duracloud.chunk.writer.DuracloudContentWriter
 

F

FileChunker - Class in org.duracloud.chunk
This class provides the ability to loop over a directory of content which may include files over 5-GB in size, chunk, and push them to a DataStore encapsulated by the member: ContentWriter.
FileChunker(ContentWriter) - Constructor for class org.duracloud.chunk.FileChunker
 
FileChunker(ContentWriter, FileChunkerOptions) - Constructor for class org.duracloud.chunk.FileChunker
 
FileChunkerDriver - Class in org.duracloud.chunk
This class is a commandline interface for initiating the read of local content, chunking it, then writing it via a provided ContentWriter.
FileChunkerDriver() - Constructor for class org.duracloud.chunk.FileChunkerDriver
 
FileChunkerOptions - Class in org.duracloud.chunk
This class is a simple container for configuration options for the FileChunker.
FileChunkerOptions() - Constructor for class org.duracloud.chunk.FileChunkerOptions
 
FileChunkerOptions(long) - Constructor for class org.duracloud.chunk.FileChunkerOptions
 
FileChunkerOptions(IOFileFilter, long) - Constructor for class org.duracloud.chunk.FileChunkerOptions
 
FileChunkerOptions(long, boolean) - Constructor for class org.duracloud.chunk.FileChunkerOptions
 
FileChunkerOptions(IOFileFilter, IOFileFilter, long) - Constructor for class org.duracloud.chunk.FileChunkerOptions
 
FileChunkerOptions(IOFileFilter, IOFileFilter, long, boolean, boolean) - Constructor for class org.duracloud.chunk.FileChunkerOptions
 
FilesystemContentWriter - Class in org.duracloud.chunk.writer
This class implements the ContentWriter interface to write the provided content to a local filesystem.
FilesystemContentWriter() - Constructor for class org.duracloud.chunk.writer.FilesystemContentWriter
 
finalizeManifest() - Method in class org.duracloud.chunk.ChunkableContent
 

G

getBody() - Method in class org.duracloud.chunk.manifest.ChunksManifest
 
getByteSize() - Method in class org.duracloud.chunk.manifest.ChunksManifestBean.ManifestEntry
 
getChunkId() - Method in class org.duracloud.chunk.manifest.ChunksManifestBean.ManifestEntry
 
getChunkId() - Method in class org.duracloud.chunk.stream.ChunkInputStream
 
getChunkMD5() - Method in class org.duracloud.chunk.manifest.ChunksManifestBean.ManifestEntry
 
getChunkSize() - Method in class org.duracloud.chunk.stream.ChunkInputStream
 
getContentId() - Method in exception org.duracloud.chunk.error.ContentNotAddedException
 
getContentId() - Method in class org.duracloud.chunk.writer.AddContentResult
 
getContentSize() - Method in class org.duracloud.chunk.writer.AddContentResult
 
getDirFilter() - Method in class org.duracloud.chunk.FileChunkerOptions
 
getEntries() - Method in class org.duracloud.chunk.manifest.ChunksManifestBean
 
getFileFilter() - Method in class org.duracloud.chunk.FileChunkerOptions
 
getHeader() - Method in class org.duracloud.chunk.manifest.ChunksManifestBean
 
getIndex() - Method in class org.duracloud.chunk.manifest.ChunksManifestBean.ManifestEntry
 
getLength() - Method in class org.duracloud.chunk.stream.KnownLengthInputStream
 
getManifest() - Method in class org.duracloud.chunk.ChunkableContent
 
getManifestId() - Method in class org.duracloud.chunk.manifest.ChunksManifest
 
getMaxChunkSize() - Method in class org.duracloud.chunk.ChunkableContent
 
getMaxChunkSize() - Method in class org.duracloud.chunk.FileChunkerOptions
 
getMD5() - Method in class org.duracloud.chunk.stream.ChunkInputStream
 
getMD5() - Method in class org.duracloud.chunk.stream.CountingDigestInputStream
 
getMd5() - Method in class org.duracloud.chunk.writer.AddContentResult
 
getMimetype() - Method in class org.duracloud.chunk.manifest.ChunksManifest
 
getMimetype() - Method in class org.duracloud.chunk.stream.ChunkInputStream
 
getResults() - Method in interface org.duracloud.chunk.writer.ContentWriter
This method returns an item-by-item list of results for the write requests.
getResults() - Method in class org.duracloud.chunk.writer.DuracloudContentWriter
 
getResults() - Method in class org.duracloud.chunk.writer.FilesystemContentWriter
This method returns the results of the content write requests.
getSourceByteSize() - Method in class org.duracloud.chunk.manifest.ChunksManifestBean.ManifestHeader
 
getSourceContentId() - Method in class org.duracloud.chunk.manifest.ChunksManifestBean.ManifestHeader
 
getSourceMD5() - Method in class org.duracloud.chunk.manifest.ChunksManifestBean.ManifestHeader
 
getSourceMimetype() - Method in class org.duracloud.chunk.manifest.ChunksManifestBean.ManifestHeader
 
getSpaceId() - Method in exception org.duracloud.chunk.error.ContentNotAddedException
 
getSpaceId() - Method in class org.duracloud.chunk.writer.AddContentResult
 
getState() - Method in class org.duracloud.chunk.writer.AddContentResult
 

H

hasNext() - Method in class org.duracloud.chunk.ChunkableContent
This method indicates if there are any more chunks.

I

ignore(String, String, long) - Method in interface org.duracloud.chunk.writer.ContentWriter
This method helps with the book-keeping of which files are ignored.
ignore(String, String, long) - Method in class org.duracloud.chunk.writer.DuracloudContentWriter
 
ignore(String, String, long) - Method in class org.duracloud.chunk.writer.FilesystemContentWriter
 
isChunk(String) - Method in class org.duracloud.chunk.util.ChunkUtil
 
isChunkManifest(String) - Method in class org.duracloud.chunk.util.ChunkUtil
 
isIgnoreLargeFiles() - Method in class org.duracloud.chunk.FileChunkerOptions
 
isPreserveChunkMD5s() - Method in class org.duracloud.chunk.FileChunkerOptions
 
iterator() - Method in class org.duracloud.chunk.ChunkableContent
 

K

KnownLengthInputStream - Class in org.duracloud.chunk.stream
This wraps ByteArrayInputStream and adds a length field.
KnownLengthInputStream(String) - Constructor for class org.duracloud.chunk.stream.KnownLengthInputStream
 

M

main(String[]) - Static method in class org.duracloud.chunk.FileChunkerDriver
Main
ManifestDocumentBinding - Class in org.duracloud.chunk.manifest.xml
This class is a helper utility for binding ChunksManifest objects to a ChunksManifest xml document.
ManifestDocumentBinding() - Constructor for class org.duracloud.chunk.manifest.xml.ManifestDocumentBinding
 
ManifestElementReader - Class in org.duracloud.chunk.manifest.xml
This class is responsible for binding ChunksManifest xml documents to ChunksManifest objects.
ManifestElementReader() - Constructor for class org.duracloud.chunk.manifest.xml.ManifestElementReader
 
ManifestElementWriter - Class in org.duracloud.chunk.manifest.xml
This class is responsible for serializing ChunksManifest objects into ChunksManifest xml documents.
ManifestElementWriter() - Constructor for class org.duracloud.chunk.manifest.xml.ManifestElementWriter
 
manifestSuffix - Static variable in class org.duracloud.chunk.manifest.ChunksManifest
 
md5Preserved() - Method in class org.duracloud.chunk.stream.ChunkInputStream
 

N

next() - Method in class org.duracloud.chunk.ChunkableContent
This method returns the next chunk of the wrapped InputStream.
nextChunkId() - Method in class org.duracloud.chunk.manifest.ChunksManifest
 
NotFoundException - Exception in org.duracloud.chunk.error
 
NotFoundException(String) - Constructor for exception org.duracloud.chunk.error.NotFoundException
 
NotFoundException(String, Exception) - Constructor for exception org.duracloud.chunk.error.NotFoundException
 
numBytesRead() - Method in class org.duracloud.chunk.stream.ChunkInputStream
 

O

org.duracloud.chunk - package org.duracloud.chunk
 
org.duracloud.chunk.error - package org.duracloud.chunk.error
 
org.duracloud.chunk.manifest - package org.duracloud.chunk.manifest
 
org.duracloud.chunk.manifest.xml - package org.duracloud.chunk.manifest.xml
 
org.duracloud.chunk.stream - package org.duracloud.chunk.stream
 
org.duracloud.chunk.util - package org.duracloud.chunk.util
 
org.duracloud.chunk.writer - package org.duracloud.chunk.writer
 

P

preChunkedContentId(String) - Method in class org.duracloud.chunk.util.ChunkUtil
 

R

read() - Method in class org.duracloud.chunk.stream.ChunkInputStream
This method reads up to chunkSize number of bytes from the stream.
remove() - Method in class org.duracloud.chunk.ChunkableContent
 

S

SCHEMA_VERSION - Static variable in class org.duracloud.chunk.manifest.ChunksManifest
 
setEntries(List<ChunksManifestBean.ManifestEntry>) - Method in class org.duracloud.chunk.manifest.ChunksManifestBean
 
setHeader(ChunksManifestBean.ManifestHeader) - Method in class org.duracloud.chunk.manifest.ChunksManifestBean
 
setMd5(String) - Method in class org.duracloud.chunk.writer.AddContentResult
 
setMD5OfSourceContent(String) - Method in class org.duracloud.chunk.manifest.ChunksManifest
 
setPreserveChunkMD5s(boolean) - Method in class org.duracloud.chunk.ChunkableContent
 
setSourceMD5(String) - Method in class org.duracloud.chunk.manifest.ChunksManifestBean.ManifestHeader
 
setState(AddContentResult.State) - Method in class org.duracloud.chunk.writer.AddContentResult
 

V

valueOf(String) - Static method in enum org.duracloud.chunk.writer.AddContentResult.State
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.duracloud.chunk.writer.AddContentResult.State
Returns an array containing the constants of this enum type, in the order they are declared.

W

write(String, ChunkableContent) - Method in interface org.duracloud.chunk.writer.ContentWriter
This method writes the ChunkableContent to the arg space.
write(String, ChunkableContent) - Method in class org.duracloud.chunk.writer.DuracloudContentWriter
This method implements the ContentWriter interface for writing content to a DataStore.
write(String, ChunkableContent) - Method in class org.duracloud.chunk.writer.FilesystemContentWriter
This method implements the ContentWriter interface for writing content to a DataStore.
writeReport(File) - Method in class org.duracloud.chunk.FileChunker
 
writeSingle(String, String, ChunkInputStream) - Method in interface org.duracloud.chunk.writer.ContentWriter
This method writes the arg Chunk to the arg space.
writeSingle(String, String, ChunkInputStream) - Method in class org.duracloud.chunk.writer.DuracloudContentWriter
This method writes a single chunk to the DataStore.
writeSingle(String, String, ChunkInputStream) - Method in class org.duracloud.chunk.writer.FilesystemContentWriter
This method implements the ContentWriter interface for writing content to a DataStore.
A C D F G H I K M N O P R S V W 

Copyright © 2009-2012 DuraSpace. All Rights Reserved.