Index

A B C D E F G H I L M N P R S T U V W Z 
All Classes and Interfaces|All Packages

A

accept(T) - Method in interface nl.knaw.dans.layerstore.Filter
 
addDirectory(long, String) - Method in interface nl.knaw.dans.layerstore.LayerDatabase
Adds a directory to the database.
addDirectory(long, String) - Method in class nl.knaw.dans.layerstore.LayerDatabaseImpl
 
archive() - Method in interface nl.knaw.dans.layerstore.Layer
Turns the layer into an archive file.
Archive - Interface in nl.knaw.dans.layerstore
An archive is a file that contains a collection of files and directories.
archiveFrom(Path) - Method in interface nl.knaw.dans.layerstore.Archive
Archives the given staging directory overwriting the backing file, if it exists.
archiveFrom(Path) - Method in class nl.knaw.dans.layerstore.DmfTarArchive
 
archiveFrom(Path) - Method in class nl.knaw.dans.layerstore.TarArchive
 
archiveFrom(Path) - Method in class nl.knaw.dans.layerstore.ZipArchive
 
ArchiveProvider - Interface in nl.knaw.dans.layerstore
Provides a way to create an Archive.

B

build() - Method in class nl.knaw.dans.layerstore.Item.ItemBuilder
 
build() - Method in class nl.knaw.dans.layerstore.ItemRecord.ItemRecordBuilder
 
builder() - Static method in class nl.knaw.dans.layerstore.Item
 
builder() - Static method in class nl.knaw.dans.layerstore.ItemRecord
 

C

canEqual(Object) - Method in class nl.knaw.dans.layerstore.Item
 
canEqual(Object) - Method in class nl.knaw.dans.layerstore.ItemRecord
 
close() - Method in interface nl.knaw.dans.layerstore.Layer
Changes the state of the layer to closed.
content(byte[]) - Method in class nl.knaw.dans.layerstore.ItemRecord.ItemRecordBuilder
 
copyDirectoryOutOf(String, Path) - Method in interface nl.knaw.dans.layerstore.ItemStore
 
copyDirectoryOutOf(String, Path) - Method in class nl.knaw.dans.layerstore.LayeredItemStore
 
createArchive(String) - Method in interface nl.knaw.dans.layerstore.ArchiveProvider
Create a new Archive instance.
createArchive(String) - Method in class nl.knaw.dans.layerstore.DmfTarArchiveProvider
 
createArchive(String) - Method in class nl.knaw.dans.layerstore.TarArchiveProvider
 
createArchive(String) - Method in class nl.knaw.dans.layerstore.ZipArchiveProvider
 
createDirectory(String) - Method in interface nl.knaw.dans.layerstore.ItemStore
 
createDirectory(String) - Method in interface nl.knaw.dans.layerstore.Layer
 
createDirectory(String) - Method in class nl.knaw.dans.layerstore.LayeredItemStore
 

D

DatabaseBackedContentManager - Interface in nl.knaw.dans.layerstore
Controls selecting and processing content for storage in the database.
deleteDirectory(String) - Method in interface nl.knaw.dans.layerstore.ItemStore
Deletes the directory at the given path, including all its contents.
deleteDirectory(String) - Method in interface nl.knaw.dans.layerstore.Layer
 
deleteDirectory(String) - Method in class nl.knaw.dans.layerstore.LayeredItemStore
 
deleteFiles(List<String>) - Method in interface nl.knaw.dans.layerstore.ItemStore
Deletes the files at the given paths.
deleteFiles(List<String>) - Method in interface nl.knaw.dans.layerstore.Layer
Deletes the files pointed to by paths.
deleteFiles(List<String>) - Method in class nl.knaw.dans.layerstore.LayeredItemStore
 
deleteRecordsById(long...) - Method in interface nl.knaw.dans.layerstore.LayerDatabase
Deletes the records with the given ids.
deleteRecordsById(long...) - Method in class nl.knaw.dans.layerstore.LayerDatabaseImpl
 
Directory - Enum constant in enum class nl.knaw.dans.layerstore.Item.Type
 
DmfTarArchive - Class in nl.knaw.dans.layerstore
 
DmfTarArchive(DmfTarRunner, String, boolean) - Constructor for class nl.knaw.dans.layerstore.DmfTarArchive
 
DmfTarArchiveProvider - Class in nl.knaw.dans.layerstore
 
DmfTarArchiveProvider(DmfTarRunner, SshRunner) - Constructor for class nl.knaw.dans.layerstore.DmfTarArchiveProvider
 
DmfTarRunner - Class in nl.knaw.dans.layerstore
 
DmfTarRunner(Path, String, String, Path) - Constructor for class nl.knaw.dans.layerstore.DmfTarRunner
 

E

equals(Object) - Method in class nl.knaw.dans.layerstore.Item
 
equals(Object) - Method in class nl.knaw.dans.layerstore.ItemRecord
 
equals(Object) - Method in class nl.knaw.dans.layerstore.ProcessRunner.Result
 
exists(String) - Method in interface nl.knaw.dans.layerstore.ArchiveProvider
Check if an archive exists at the given path.
exists(String) - Method in class nl.knaw.dans.layerstore.DmfTarArchiveProvider
 
exists(String) - Method in class nl.knaw.dans.layerstore.TarArchiveProvider
 
exists(String) - Method in class nl.knaw.dans.layerstore.ZipArchiveProvider
 
existsPathLike(String) - Method in interface nl.knaw.dans.layerstore.ItemStore
Returns whether a path with the given pattern exists in the store.
existsPathLike(String) - Method in interface nl.knaw.dans.layerstore.LayerDatabase
Returns whether the path pattern matches any path in the database.
existsPathLike(String) - Method in class nl.knaw.dans.layerstore.LayerDatabaseImpl
 
existsPathLike(String) - Method in class nl.knaw.dans.layerstore.LayeredItemStore
 

F

File - Enum constant in enum class nl.knaw.dans.layerstore.Item.Type
 
fileExists(String) - Method in interface nl.knaw.dans.layerstore.Archive
Returns whether the file exists in the archive.
fileExists(String) - Method in class nl.knaw.dans.layerstore.DmfTarArchive
 
fileExists(String) - Method in interface nl.knaw.dans.layerstore.Layer
 
fileExists(String) - Method in class nl.knaw.dans.layerstore.SshRunner
 
fileExists(String) - Method in class nl.knaw.dans.layerstore.TarArchive
 
fileExists(String) - Method in class nl.knaw.dans.layerstore.ZipArchive
 
fileExists(String, String) - Method in class nl.knaw.dans.layerstore.DmfTarRunner
 
Filter<T> - Interface in nl.knaw.dans.layerstore
A generic filter interface.
findLayersContaining(String) - Method in interface nl.knaw.dans.layerstore.LayerDatabase
Finds all the layers that contain the given path.
findLayersContaining(String) - Method in class nl.knaw.dans.layerstore.LayerDatabaseImpl
 

G

generatedId(Long) - Method in class nl.knaw.dans.layerstore.ItemRecord.ItemRecordBuilder
 
getAllRecords() - Method in interface nl.knaw.dans.layerstore.LayerDatabase
Retrieves a stream of all the records in the database.
getAllRecords() - Method in class nl.knaw.dans.layerstore.LayerDatabaseImpl
 
getContent() - Method in class nl.knaw.dans.layerstore.ItemRecord
 
getErrorOutput() - Method in class nl.knaw.dans.layerstore.ProcessRunner.Result
 
getExitCode() - Method in class nl.knaw.dans.layerstore.ProcessRunner.Result
 
getGeneratedId() - Method in class nl.knaw.dans.layerstore.ItemRecord
 
getId() - Method in interface nl.knaw.dans.layerstore.Layer
Returns the id of the layer.
getLayer(long) - Method in interface nl.knaw.dans.layerstore.LayerManager
Returns the layer with the given id.
getLayer(long) - Method in class nl.knaw.dans.layerstore.LayerManagerImpl
 
getLayerId() - Method in class nl.knaw.dans.layerstore.ItemRecord
 
getPath() - Method in class nl.knaw.dans.layerstore.Item
 
getPath() - Method in class nl.knaw.dans.layerstore.ItemRecord
 
getRecordsByPath(String) - Method in interface nl.knaw.dans.layerstore.LayerDatabase
Returns the records for the given path in any layer.
getRecordsByPath(String) - Method in class nl.knaw.dans.layerstore.LayerDatabaseImpl
 
getSizeInBytes() - Method in interface nl.knaw.dans.layerstore.Layer
 
getStandardOutput() - Method in class nl.knaw.dans.layerstore.ProcessRunner.Result
 
getTopLayer() - Method in interface nl.knaw.dans.layerstore.LayerManager
 
getTopLayer() - Method in class nl.knaw.dans.layerstore.LayerManagerImpl
 
getType() - Method in class nl.knaw.dans.layerstore.Item
 
getType() - Method in class nl.knaw.dans.layerstore.ItemRecord
 

H

hashCode() - Method in class nl.knaw.dans.layerstore.Item
 
hashCode() - Method in class nl.knaw.dans.layerstore.ItemRecord
 
hashCode() - Method in class nl.knaw.dans.layerstore.ProcessRunner.Result
 

I

isArchived() - Method in interface nl.knaw.dans.layerstore.Archive
Returns whether the archive has been created.
isArchived() - Method in class nl.knaw.dans.layerstore.DmfTarArchive
 
isArchived() - Method in interface nl.knaw.dans.layerstore.Layer
Returns whether the layer is archived.
isArchived() - Method in class nl.knaw.dans.layerstore.TarArchive
 
isArchived() - Method in class nl.knaw.dans.layerstore.ZipArchive
 
isOpen() - Method in interface nl.knaw.dans.layerstore.Layer
Returns whether the layer is open.
Item - Class in nl.knaw.dans.layerstore
A file or directory in the layer store.
Item.ItemBuilder - Class in nl.knaw.dans.layerstore
 
Item.Type - Enum Class in nl.knaw.dans.layerstore
 
ItemRecord - Class in nl.knaw.dans.layerstore
A record in the database that represents a file or directory in a layer.
ItemRecord() - Constructor for class nl.knaw.dans.layerstore.ItemRecord
 
ItemRecord(Long, Long, String, Item.Type, byte[]) - Constructor for class nl.knaw.dans.layerstore.ItemRecord
 
ItemRecord.ItemRecordBuilder - Class in nl.knaw.dans.layerstore
 
ItemStore - Interface in nl.knaw.dans.layerstore
An ItemStore stores "items", which are files and directories.

L

Layer - Interface in nl.knaw.dans.layerstore
 
LayerDatabase - Interface in nl.knaw.dans.layerstore
Provides access to the database that contains a record for every file and directory stored in the layered storage.
LayerDatabaseImpl - Class in nl.knaw.dans.layerstore
 
LayerDatabaseImpl(PersistenceProvider<ItemRecord>) - Constructor for class nl.knaw.dans.layerstore.LayerDatabaseImpl
 
LayeredItemStore - Class in nl.knaw.dans.layerstore
An implementation of FileStore that stores files and directories as a stack of layers.
LayeredItemStore(LayerDatabase, LayerManager) - Constructor for class nl.knaw.dans.layerstore.LayeredItemStore
 
LayeredItemStore(LayerDatabase, LayerManager, DatabaseBackedContentManager) - Constructor for class nl.knaw.dans.layerstore.LayeredItemStore
 
layerId(Long) - Method in class nl.knaw.dans.layerstore.ItemRecord.ItemRecordBuilder
 
LayerManager - Interface in nl.knaw.dans.layerstore
Manages Layers.
LayerManagerImpl - Class in nl.knaw.dans.layerstore
 
LayerManagerImpl(Path, ArchiveProvider) - Constructor for class nl.knaw.dans.layerstore.LayerManagerImpl
 
LayerManagerImpl(Path, ArchiveProvider, Executor) - Constructor for class nl.knaw.dans.layerstore.LayerManagerImpl
 
listDirectory(String) - Method in interface nl.knaw.dans.layerstore.ItemStore
Returns the items in the given directory, taking into account the complete stack of layers.
listDirectory(String) - Method in interface nl.knaw.dans.layerstore.LayerDatabase
Lists the items in directoryPath.
listDirectory(String) - Method in class nl.knaw.dans.layerstore.LayerDatabaseImpl
 
listDirectory(String) - Method in class nl.knaw.dans.layerstore.LayeredItemStore
 
listRecursive(String) - Method in interface nl.knaw.dans.layerstore.ItemStore
Returns the files and directories in the given directory and its subdirectories.
listRecursive(String) - Method in interface nl.knaw.dans.layerstore.LayerDatabase
Lists the items in directoryPath recursively.
listRecursive(String) - Method in class nl.knaw.dans.layerstore.LayerDatabaseImpl
 
listRecursive(String) - Method in class nl.knaw.dans.layerstore.LayeredItemStore
 

M

moveDirectoryInternal(String, String) - Method in interface nl.knaw.dans.layerstore.ItemStore
Moves the directory inside the store to the given destination.
moveDirectoryInternal(String, String) - Method in interface nl.knaw.dans.layerstore.Layer
 
moveDirectoryInternal(String, String) - Method in class nl.knaw.dans.layerstore.LayeredItemStore
 
moveDirectoryInto(Path, String) - Method in interface nl.knaw.dans.layerstore.ItemStore
Moves the directory outside the store into the given destination.
moveDirectoryInto(Path, String) - Method in interface nl.knaw.dans.layerstore.Layer
 
moveDirectoryInto(Path, String) - Method in class nl.knaw.dans.layerstore.LayeredItemStore
 

N

newTopLayer() - Method in interface nl.knaw.dans.layerstore.LayerManager
Closes the current top layer and creates a new top layer.
newTopLayer() - Method in class nl.knaw.dans.layerstore.LayerManagerImpl
 
nl.knaw.dans.layerstore - package nl.knaw.dans.layerstore
 
NoopDatabaseBackedContentManager - Class in nl.knaw.dans.layerstore
 
NoopDatabaseBackedContentManager() - Constructor for class nl.knaw.dans.layerstore.NoopDatabaseBackedContentManager
 

P

path(String) - Method in class nl.knaw.dans.layerstore.Item.ItemBuilder
 
path(String) - Method in class nl.knaw.dans.layerstore.ItemRecord.ItemRecordBuilder
 
postRetrieve(String, byte[]) - Method in interface nl.knaw.dans.layerstore.DatabaseBackedContentManager
Process the content after it is retrieved from the database.
postRetrieve(String, byte[]) - Method in class nl.knaw.dans.layerstore.NoopDatabaseBackedContentManager
 
preStore(String, byte[]) - Method in interface nl.knaw.dans.layerstore.DatabaseBackedContentManager
Process the content before it is stored in the database.
preStore(String, byte[]) - Method in class nl.knaw.dans.layerstore.NoopDatabaseBackedContentManager
 
ProcessInputStream - Class in nl.knaw.dans.layerstore
An InputStream that checks the status of a process after each read operation and throws an IOException if the process has terminated with a non-zero exit code.
ProcessInputStream(Process) - Constructor for class nl.knaw.dans.layerstore.ProcessInputStream
Creates a new ProcessInputStream that reads from the given process's input stream.
ProcessRunner - Class in nl.knaw.dans.layerstore
Provides a way to run a process and capture its output.
ProcessRunner(String...) - Constructor for class nl.knaw.dans.layerstore.ProcessRunner
 
ProcessRunner.Result - Class in nl.knaw.dans.layerstore
 

R

read() - Method in class nl.knaw.dans.layerstore.ProcessInputStream
 
read(byte[]) - Method in class nl.knaw.dans.layerstore.ProcessInputStream
 
read(byte[], int, int) - Method in class nl.knaw.dans.layerstore.ProcessInputStream
 
readFile(String) - Method in interface nl.knaw.dans.layerstore.Archive
Returns an input stream for the file at the given path.
readFile(String) - Method in class nl.knaw.dans.layerstore.DmfTarArchive
 
readFile(String) - Method in interface nl.knaw.dans.layerstore.ItemStore
Opens an input stream to the file at the given path.
readFile(String) - Method in interface nl.knaw.dans.layerstore.Layer
 
readFile(String) - Method in class nl.knaw.dans.layerstore.LayeredItemStore
 
readFile(String) - Method in class nl.knaw.dans.layerstore.TarArchive
 
readFile(String) - Method in class nl.knaw.dans.layerstore.ZipArchive
 
readFile(String, String) - Method in class nl.knaw.dans.layerstore.DmfTarRunner
 
reopen() - Method in interface nl.knaw.dans.layerstore.Layer
Changes the state of the layer to open.
Result(int, String, String) - Constructor for class nl.knaw.dans.layerstore.ProcessRunner.Result
 
runToEnd() - Method in class nl.knaw.dans.layerstore.ProcessRunner
 

S

saveRecords(ItemRecord...) - Method in interface nl.knaw.dans.layerstore.LayerDatabase
Save records to the database.
saveRecords(ItemRecord...) - Method in class nl.knaw.dans.layerstore.LayerDatabaseImpl
 
setContent(byte[]) - Method in class nl.knaw.dans.layerstore.ItemRecord
 
setGeneratedId(Long) - Method in class nl.knaw.dans.layerstore.ItemRecord
 
setLayerId(Long) - Method in class nl.knaw.dans.layerstore.ItemRecord
 
setPath(String) - Method in class nl.knaw.dans.layerstore.ItemRecord
 
setType(Item.Type) - Method in class nl.knaw.dans.layerstore.ItemRecord
 
setWorkingDirectory(String) - Method in class nl.knaw.dans.layerstore.ProcessRunner
 
SshRunner - Class in nl.knaw.dans.layerstore
 
SshRunner(Path, String, String, Path) - Constructor for class nl.knaw.dans.layerstore.SshRunner
 
start() - Method in class nl.knaw.dans.layerstore.ProcessRunner
 

T

TarArchive - Class in nl.knaw.dans.layerstore
 
TarArchive(Path) - Constructor for class nl.knaw.dans.layerstore.TarArchive
 
TarArchiveProvider - Class in nl.knaw.dans.layerstore
 
TarArchiveProvider(Path) - Constructor for class nl.knaw.dans.layerstore.TarArchiveProvider
 
tarDirectory(Path, String) - Method in class nl.knaw.dans.layerstore.DmfTarRunner
 
test(String) - Method in interface nl.knaw.dans.layerstore.DatabaseBackedContentManager
Test if the content at the given path should be stored in the database.
test(String) - Method in class nl.knaw.dans.layerstore.NoopDatabaseBackedContentManager
 
toItem() - Method in class nl.knaw.dans.layerstore.ItemRecord
 
toString() - Method in class nl.knaw.dans.layerstore.Item.ItemBuilder
 
toString() - Method in class nl.knaw.dans.layerstore.Item
 
toString() - Method in class nl.knaw.dans.layerstore.ItemRecord.ItemRecordBuilder
 
toString() - Method in class nl.knaw.dans.layerstore.ItemRecord
 
toString() - Method in class nl.knaw.dans.layerstore.ProcessRunner.Result
 
type(Item.Type) - Method in class nl.knaw.dans.layerstore.Item.ItemBuilder
 
type(Item.Type) - Method in class nl.knaw.dans.layerstore.ItemRecord.ItemRecordBuilder
 

U

unarchiveTo(Path) - Method in interface nl.knaw.dans.layerstore.Archive
Unarchives the archive to the given staging directory.
unarchiveTo(Path) - Method in class nl.knaw.dans.layerstore.DmfTarArchive
 
unarchiveTo(Path) - Method in class nl.knaw.dans.layerstore.TarArchive
 
unarchiveTo(Path) - Method in class nl.knaw.dans.layerstore.ZipArchive
 

V

valueOf(String) - Static method in enum class nl.knaw.dans.layerstore.Item.Type
Returns the enum constant of this class with the specified name.
values() - Static method in enum class nl.knaw.dans.layerstore.Item.Type
Returns an array containing the constants of this enum class, in the order they are declared.

W

writeFile(String, InputStream) - Method in interface nl.knaw.dans.layerstore.ItemStore
Writes the given content to the file at the given path.
writeFile(String, InputStream) - Method in interface nl.knaw.dans.layerstore.Layer
Writes the content of the given input stream to the file at the given path.
writeFile(String, InputStream) - Method in class nl.knaw.dans.layerstore.LayeredItemStore
 

Z

ZipArchive - Class in nl.knaw.dans.layerstore
 
ZipArchive(Path) - Constructor for class nl.knaw.dans.layerstore.ZipArchive
 
ZipArchiveProvider - Class in nl.knaw.dans.layerstore
 
ZipArchiveProvider(Path) - Constructor for class nl.knaw.dans.layerstore.ZipArchiveProvider
 
A B C D E F G H I L M N P R S T U V W Z 
All Classes and Interfaces|All Packages