Index

A C D F G M N P R S U 
All Classes and Interfaces|All Packages

A

add(FileType, InputStream) - Method in class com.coreoz.plume.file.services.FileService
Consume the stream to produce a byte array, then call FileService.add(FileType, InputStream, String)
add(FileType, InputStream, String) - Method in class com.coreoz.plume.file.services.FileService
Consume the stream to produce a byte array, then call FileService.add(FileType, InputStream, String, String, String)
add(FileType, InputStream, String, String) - Method in class com.coreoz.plume.file.services.FileService
Consume the stream to produce a byte array, then call FileService.add(FileType, InputStream, String, String, String)
add(FileType, InputStream, String, String, String) - Method in class com.coreoz.plume.file.services.FileService
Save a new file
add(String, InputStream) - Method in interface com.coreoz.plume.file.services.storage.FileStorageService
Add a file
add(String, String, String, String, String) - Method in interface com.coreoz.plume.file.services.metadata.FileMetadataService
 

C

checksumAlgorithm() - Method in class com.coreoz.plume.file.services.configuration.FileConfigurationService
 
cleanExtensionName(String) - Static method in class com.coreoz.plume.file.utils.FileNames
Transform to extension to lower case and remove all characters that are not numbers or between 'a' and 'z'
cleaningHour() - Method in class com.coreoz.plume.file.services.configuration.FileConfigurationService
 
close() - Method in class com.coreoz.plume.file.services.data.MeasuredSizeInputStream
 
com.coreoz.plume.file.guice - package com.coreoz.plume.file.guice
 
com.coreoz.plume.file.services - package com.coreoz.plume.file.services
 
com.coreoz.plume.file.services.configuration - package com.coreoz.plume.file.services.configuration
 
com.coreoz.plume.file.services.data - package com.coreoz.plume.file.services.data
 
com.coreoz.plume.file.services.filetype - package com.coreoz.plume.file.services.filetype
 
com.coreoz.plume.file.services.metadata - package com.coreoz.plume.file.services.metadata
 
com.coreoz.plume.file.services.mimetype - package com.coreoz.plume.file.services.mimetype
 
com.coreoz.plume.file.services.scheduled - package com.coreoz.plume.file.services.scheduled
 
com.coreoz.plume.file.services.storage - package com.coreoz.plume.file.services.storage
 
com.coreoz.plume.file.services.url - package com.coreoz.plume.file.services.url
 
com.coreoz.plume.file.utils - package com.coreoz.plume.file.utils
 
configure() - Method in class com.coreoz.plume.file.guice.GuiceFileModule
 

D

deleteAll(List<String>) - Method in interface com.coreoz.plume.file.services.metadata.FileMetadataService
 
deleteAll(List<String>) - Method in interface com.coreoz.plume.file.services.storage.FileStorageService
Delete the files data identified by the fileUniqueNames.
deleteFilesForDeletedTypes() - Method in class com.coreoz.plume.file.services.FileService
Delete files having a type that longer exists in the FileType enum and can't be linked to stored files.
deleteUnreferenced() - Method in class com.coreoz.plume.file.services.FileService
Delete unreferenced files.

F

fetch(String) - Method in interface com.coreoz.plume.file.services.metadata.FileMetadataService
 
fetch(String) - Method in interface com.coreoz.plume.file.services.storage.FileStorageService
 
fetchData(String) - Method in class com.coreoz.plume.file.services.FileService
 
fetchMetadata(String) - Method in class com.coreoz.plume.file.services.FileService
 
FileConfigurationService - Class in com.coreoz.plume.file.services.configuration
 
FileConfigurationService(Config) - Constructor for class com.coreoz.plume.file.services.configuration.FileConfigurationService
 
FileMetadata - Interface in com.coreoz.plume.file.services.metadata
File metadata information
FileMetadataService - Interface in com.coreoz.plume.file.services.metadata
Manages files metadata
FileMimeTypeDetector - Interface in com.coreoz.plume.file.services.mimetype
Provide mime type detection for Plume File.

Default implementation uses the lightweight library mime-types.
FileNames - Class in com.coreoz.plume.file.utils
 
FileScheduledTasks - Class in com.coreoz.plume.file.services.scheduled
 
FileScheduledTasks(Scheduler, FileConfigurationService, FileService) - Constructor for class com.coreoz.plume.file.services.scheduled.FileScheduledTasks
 
FileService - Class in com.coreoz.plume.file.services
 
FileService(FileMetadataService, FileStorageService, FileMimeTypeDetector, FileConfigurationService) - Constructor for class com.coreoz.plume.file.services.FileService
 
FileStorageService - Interface in com.coreoz.plume.file.services.storage
 
FileType - Interface in com.coreoz.plume.file.services.filetype
Represents a file category.
FileUrlService - Interface in com.coreoz.plume.file.services.url
Stand-alone service to compute the URL of a file through its unique name.
findFilesHavingDeletedTypes() - Method in interface com.coreoz.plume.file.services.metadata.FileMetadataService
 
findUnreferencedFiles() - Method in interface com.coreoz.plume.file.services.metadata.FileMetadataService
 

G

getChecksum() - Method in interface com.coreoz.plume.file.services.metadata.FileMetadata
 
getCreationDate() - Method in interface com.coreoz.plume.file.services.metadata.FileMetadata
 
getFileExtension() - Method in interface com.coreoz.plume.file.services.metadata.FileMetadata
 
getFileOriginalName() - Method in interface com.coreoz.plume.file.services.metadata.FileMetadata
 
getFileSize() - Method in interface com.coreoz.plume.file.services.metadata.FileMetadata
 
getFileType() - Method in interface com.coreoz.plume.file.services.metadata.FileMetadata
 
getInputStreamTotalSize() - Method in class com.coreoz.plume.file.services.data.MeasuredSizeInputStream
Returns the number of bytes that has been read
getMimeType() - Method in interface com.coreoz.plume.file.services.metadata.FileMetadata
 
getUniqueName() - Method in interface com.coreoz.plume.file.services.metadata.FileMetadata
 
guessMimeType(String, PeekingInputStream) - Method in interface com.coreoz.plume.file.services.mimetype.FileMimeTypeDetector
Find the corresponding mime type for the file name.

Usage:
guessMimeType(String, PeekingInputStream) - Method in class com.coreoz.plume.file.services.mimetype.MimeTypesDetector
 
GuiceFileModule - Class in com.coreoz.plume.file.guice
 
GuiceFileModule() - Constructor for class com.coreoz.plume.file.guice.GuiceFileModule
 

M

MeasuredSizeInputStream - Class in com.coreoz.plume.file.services.data
An input stream wrapper that exposes a method to know the number of bytes that has been read in the stream.
MeasuredSizeInputStream(InputStream) - Constructor for class com.coreoz.plume.file.services.data.MeasuredSizeInputStream
 
MimeTypesDetector - Class in com.coreoz.plume.file.services.mimetype
A FileMimeTypeDetector using the library mime-types.
MimeTypesDetector() - Constructor for class com.coreoz.plume.file.services.mimetype.MimeTypesDetector
 

N

name() - Method in interface com.coreoz.plume.file.services.filetype.FileType
 

P

parseFileNameExtension(String) - Static method in class com.coreoz.plume.file.utils.FileNames
 
peek(int) - Method in class com.coreoz.plume.file.services.mimetype.PeekingInputStream
 
peekedStream() - Method in class com.coreoz.plume.file.services.mimetype.PeekingInputStream
 
PeekingInputStream - Class in com.coreoz.plume.file.services.mimetype
An InputStream wrapper that provides a peeking feature.
PeekingInputStream(InputStream) - Constructor for class com.coreoz.plume.file.services.mimetype.PeekingInputStream
 

R

read() - Method in class com.coreoz.plume.file.services.data.MeasuredSizeInputStream
 
read(byte[], int, int) - Method in class com.coreoz.plume.file.services.data.MeasuredSizeInputStream
 

S

scheduleJobs() - Method in class com.coreoz.plume.file.services.scheduled.FileScheduledTasks
 

U

updateFileSizeAndChecksum(String, long, String) - Method in interface com.coreoz.plume.file.services.metadata.FileMetadataService
 
url(String) - Method in interface com.coreoz.plume.file.services.url.FileUrlService
Create or compute the URL of a file
A C D F G M N P R S U 
All Classes and Interfaces|All Packages