A B C D E F G H I J K L M N O P R S T U V W 
All Classes All Packages

A

AbstractOcflStorage - Class in edu.wisc.library.ocfl.core.storage
OcflStorage abstract implementation that handles managing the repository's state, initialized, open, close.
AbstractOcflStorage() - Constructor for class edu.wisc.library.ocfl.core.storage.AbstractOcflStorage
 
acceptList(char...) - Static method in class edu.wisc.library.ocfl.core.path.constraint.BitSetPathCharConstraint
Creates a constraint that only accepts the specified characters
acceptListRange(char, char) - Static method in class edu.wisc.library.ocfl.core.path.constraint.BitSetPathCharConstraint
Creates a constraint that accepts all of the characters in the given range
addFile(String, String) - Method in class edu.wisc.library.ocfl.core.model.VersionBuilder
Adds a file to the version's state
addFile(String, String, OcflOption...) - Method in class edu.wisc.library.ocfl.core.inventory.InventoryUpdater
Adds a file.
addFileFixity(String, DigestAlgorithm, String) - Method in class edu.wisc.library.ocfl.core.DefaultOcflObjectUpdater
AddFileProcessor - Class in edu.wisc.library.ocfl.core.inventory
Encapsulates logic for adding files to an object, both adding them to the inventory and moving them into staging.
AddFileProcessor(InventoryUpdater, Path, DigestAlgorithm) - Constructor for class edu.wisc.library.ocfl.core.inventory.AddFileProcessor
 
AddFileProcessor.Builder - Class in edu.wisc.library.ocfl.core.inventory
 
addFileProcessorBuilder - Variable in class edu.wisc.library.ocfl.core.DefaultOcflRepository
 
addFileToManifest(String, String) - Method in class edu.wisc.library.ocfl.core.model.InventoryBuilder
Adds a file to the manifest
addFixity(String, DigestAlgorithm, String) - Method in class edu.wisc.library.ocfl.core.inventory.InventoryUpdater
Adds an entry to the fixity block.
addFixityForFile(String, DigestAlgorithm, String) - Method in class edu.wisc.library.ocfl.core.model.InventoryBuilder
Adds a file to the fixity block
addHeadVersion(Version) - Method in class edu.wisc.library.ocfl.core.model.InventoryBuilder
Add the version as the new HEAD version.
addObjectDetails(Inventory, String, byte[]) - Method in class edu.wisc.library.ocfl.core.db.BaseObjectDetailsDatabase
Adds ObjectDetails to the database.
addObjectDetails(Inventory, String, byte[]) - Method in interface edu.wisc.library.ocfl.core.db.ObjectDetailsDatabase
Adds ObjectDetails to the database.
addPath(Path, OcflOption...) - Method in class edu.wisc.library.ocfl.core.DefaultOcflObjectUpdater
 
addPath(Path, String, OcflOption...) - Method in class edu.wisc.library.ocfl.core.DefaultOcflObjectUpdater
addSafeCharRange(char, char) - Method in class edu.wisc.library.ocfl.core.util.PercentEscaper.Builder
Adds a range of characters to the set of characters that do not need to be encoded.
addSafeChars(String) - Method in class edu.wisc.library.ocfl.core.util.PercentEscaper.Builder
Adds each character in the string to the set of characters that do not need to be encoded.
addUnsafeCharRange(char, char) - Method in class edu.wisc.library.ocfl.core.util.PercentEscaper.Builder
Adds a range of characters to the set of characters that need to be encoded.
addUnsafeChars(String) - Method in class edu.wisc.library.ocfl.core.util.PercentEscaper.Builder
Adds each character in the string to the set of characters that need to be encoded.
all() - Static method in class edu.wisc.library.ocfl.core.path.constraint.ContentPathConstraints
Constructs a ContentPathConstraintProcessor that applies the minimum path constraints across Unix, Windows, and cloud filesystems.
appendCharConstraint(PathCharConstraint) - Method in class edu.wisc.library.ocfl.core.path.constraint.PathConstraintProcessor
Adds a new character constraint to the end of the list of character constraints
appendFileNameConstraint(FileNameConstraint) - Method in class edu.wisc.library.ocfl.core.path.constraint.PathConstraintProcessor
Adds a new filename constraint to the end of the list of filename constraints
appendPathConstraint(PathConstraint) - Method in class edu.wisc.library.ocfl.core.path.constraint.PathConstraintProcessor
Adds a new path constraint to the end of the list of path constraints
apply(char, String) - Method in class edu.wisc.library.ocfl.core.path.constraint.BackslashPathSeparatorConstraint
Validates that the characters in a filename meet a defined constraint
apply(char, String) - Method in class edu.wisc.library.ocfl.core.path.constraint.BitSetPathCharConstraint
Validates that the characters in a filename meet a defined constraint
apply(char, String) - Method in interface edu.wisc.library.ocfl.core.path.constraint.PathCharConstraint
Validates that the characters in a filename meet a defined constraint
apply(String) - Method in class edu.wisc.library.ocfl.core.path.constraint.BeginEndPathConstraint
Validates that a path meets a defined constraint
apply(String) - Method in interface edu.wisc.library.ocfl.core.path.constraint.PathConstraint
Validates that a path meets a defined constraint
apply(String) - Method in class edu.wisc.library.ocfl.core.path.constraint.PathConstraintProcessor
Applies all of the configured constraints on the path.
apply(String) - Method in class edu.wisc.library.ocfl.core.path.constraint.PathLengthConstraint
Validates that a path meets a defined constraint
apply(String) - Method in class edu.wisc.library.ocfl.core.path.constraint.RegexPathConstraint
 
apply(String, String) - Method in class edu.wisc.library.ocfl.core.path.constraint.BeginEndPathConstraint
Validates that a filename meets a defined constraint
apply(String, String) - Method in interface edu.wisc.library.ocfl.core.path.constraint.ContentPathConstraintProcessor
Applies the configured path constrains to the content path and storage path.
apply(String, String) - Method in class edu.wisc.library.ocfl.core.path.constraint.DefaultContentPathConstraintProcessor
Applies the configured path constrains to the content path and storage path.
apply(String, String) - Method in interface edu.wisc.library.ocfl.core.path.constraint.FileNameConstraint
Validates that a filename meets a defined constraint
apply(String, String) - Method in class edu.wisc.library.ocfl.core.path.constraint.NonEmptyFileNameConstraint
Validates that a filename meets a defined constraint
apply(String, String) - Method in class edu.wisc.library.ocfl.core.path.constraint.PathLengthConstraint
Validates that a filename meets a defined constraint
apply(String, String) - Method in class edu.wisc.library.ocfl.core.path.constraint.RegexPathConstraint
Validates that a filename meets a defined constraint

B

BackslashPathSeparatorConstraint - Class in edu.wisc.library.ocfl.core.path.constraint
Windows only: Rejects filenames that contain backslashes
BackslashPathSeparatorConstraint() - Constructor for class edu.wisc.library.ocfl.core.path.constraint.BackslashPathSeparatorConstraint
 
BaseObjectDetailsDatabase - Class in edu.wisc.library.ocfl.core.db
 
BaseObjectDetailsDatabase(String, DataSource, boolean, long, TimeUnit, String, String) - Constructor for class edu.wisc.library.ocfl.core.db.BaseObjectDetailsDatabase
 
BeginEndPathConstraint - Class in edu.wisc.library.ocfl.core.path.constraint
Validates that a path or filename does or does not begin or and with a specified value
BitSetPathCharConstraint - Class in edu.wisc.library.ocfl.core.path.constraint
Constraint that applies restrictions on what characters are allowed in file names.
BitSetPathCharConstraint(boolean, BitSet) - Constructor for class edu.wisc.library.ocfl.core.path.constraint.BitSetPathCharConstraint
 
blockList(char...) - Static method in class edu.wisc.library.ocfl.core.path.constraint.BitSetPathCharConstraint
Creates a constraint that rejects the specified characters
blockListRange(char, char) - Static method in class edu.wisc.library.ocfl.core.path.constraint.BitSetPathCharConstraint
Creates a constraint that rejects all of the characters in the given range
bucket() - Method in interface edu.wisc.library.ocfl.core.storage.cloud.CloudClient
The name of the bucket the OCFL repository is in.
bucketExists() - Method in interface edu.wisc.library.ocfl.core.storage.cloud.CloudClient
Returns true if the storage bucket exists
build() - Method in class edu.wisc.library.ocfl.core.db.ObjectDetailsDatabaseBuilder
Constructs a new ObjectDetailsDatabase instance using the given dataSource.
build() - Method in class edu.wisc.library.ocfl.core.lock.ObjectLockBuilder
Constructs a new ObjectLock.
build() - Method in class edu.wisc.library.ocfl.core.model.Inventory.JacksonBuilder
 
build() - Method in class edu.wisc.library.ocfl.core.model.InventoryBuilder
 
build() - Method in class edu.wisc.library.ocfl.core.model.VersionBuilder
 
build() - Method in class edu.wisc.library.ocfl.core.OcflRepositoryBuilder
Constructs an OCFL repository.
build() - Method in class edu.wisc.library.ocfl.core.path.constraint.DefaultContentPathConstraintProcessor.Builder
 
build() - Method in class edu.wisc.library.ocfl.core.path.constraint.PathConstraintProcessor.Builder
 
build() - Method in class edu.wisc.library.ocfl.core.storage.cloud.CloudOcflStorageBuilder
 
build() - Method in class edu.wisc.library.ocfl.core.storage.filesystem.FileSystemOcflStorageBuilder
Builds a new FileSystemOcflStorage object
build() - Method in class edu.wisc.library.ocfl.core.util.PercentEscaper.Builder
 
build(InventoryUpdater, Path, DigestAlgorithm) - Method in class edu.wisc.library.ocfl.core.inventory.AddFileProcessor.Builder
 
build(String, DigestAlgorithm, String) - Method in class edu.wisc.library.ocfl.core.storage.cloud.CloudOcflFileRetriever.Builder
 
buildBlankState(Inventory) - Method in class edu.wisc.library.ocfl.core.inventory.InventoryUpdater.Builder
Constructs a new InventoryUpdater that does NOT copy over the state from the previous version.
buildCopyState(Inventory) - Method in class edu.wisc.library.ocfl.core.inventory.InventoryUpdater.Builder
Constructs a new InventoryUpdater that copies over the state from the previous version.
buildCopyState(Inventory, VersionNum) - Method in class edu.wisc.library.ocfl.core.inventory.InventoryUpdater.Builder
Constructs a new InventoryUpdater that copies over the state from a previous version.
buildCopyStateMutable(Inventory) - Method in class edu.wisc.library.ocfl.core.inventory.InventoryUpdater.Builder
Constructs a new InventoryUpdater that copies over the state from the previous version, and creates a mutable HEAD version.
builder() - Static method in class edu.wisc.library.ocfl.core.inventory.AddFileProcessor
 
builder() - Static method in class edu.wisc.library.ocfl.core.inventory.InventoryUpdater
 
builder() - Static method in class edu.wisc.library.ocfl.core.model.Inventory
 
builder() - Static method in class edu.wisc.library.ocfl.core.model.Version
 
builder() - Static method in class edu.wisc.library.ocfl.core.path.constraint.DefaultContentPathConstraintProcessor
Use this to construct a ContentPathConstraintProcessor
builder() - Static method in class edu.wisc.library.ocfl.core.path.constraint.PathConstraintProcessor
Use this to construct a new PathConstraintProcessor
builder() - Static method in class edu.wisc.library.ocfl.core.path.ContentPathMapper
 
builder() - Static method in class edu.wisc.library.ocfl.core.storage.cloud.CloudObjectKey
 
builder() - Static method in class edu.wisc.library.ocfl.core.storage.cloud.CloudOcflFileRetriever
 
builder() - Static method in class edu.wisc.library.ocfl.core.storage.cloud.CloudOcflStorage
Create a new builder.
builder() - Static method in class edu.wisc.library.ocfl.core.storage.filesystem.FileSystemOcflStorage
Create a new builder.
builder() - Static method in class edu.wisc.library.ocfl.core.util.PercentEscaper
Creates a builder without any safe or unsafe characters set.
builder(Version) - Static method in class edu.wisc.library.ocfl.core.model.Version
 
Builder() - Constructor for class edu.wisc.library.ocfl.core.inventory.AddFileProcessor.Builder
 
Builder() - Constructor for class edu.wisc.library.ocfl.core.inventory.InventoryUpdater.Builder
 
Builder() - Constructor for class edu.wisc.library.ocfl.core.path.constraint.DefaultContentPathConstraintProcessor.Builder
 
Builder() - Constructor for class edu.wisc.library.ocfl.core.path.constraint.PathConstraintProcessor.Builder
 
Builder() - Constructor for class edu.wisc.library.ocfl.core.path.ContentPathMapper.Builder
 
Builder() - Constructor for class edu.wisc.library.ocfl.core.storage.cloud.CloudObjectKey.Builder
 
Builder() - Constructor for class edu.wisc.library.ocfl.core.storage.cloud.CloudOcflFileRetriever.Builder
 
builderFromStub(String, OcflConfig, String) - Static method in class edu.wisc.library.ocfl.core.model.Inventory
Creates an inventory builder with values populated from a stub inventory
builderWithSafeAlphaNumeric() - Static method in class edu.wisc.library.ocfl.core.util.PercentEscaper
Creates a builder with safe alpha numeric characters preconfigured.
buildFrom() - Method in class edu.wisc.library.ocfl.core.model.Inventory
Creates an inventory builder that copies all of the properties of this inventory.
buildFromKey(String) - Method in class edu.wisc.library.ocfl.core.storage.cloud.CloudObjectKey.Builder
 
buildFromPath(String) - Method in class edu.wisc.library.ocfl.core.storage.cloud.CloudObjectKey.Builder
 
buildMutable() - Method in class edu.wisc.library.ocfl.core.OcflRepositoryBuilder
Constructs an OCFL repository that allows the use of the Mutable HEAD Extension.
buildMutableVersion(Inventory) - Method in class edu.wisc.library.ocfl.core.path.ContentPathMapper.Builder
 
buildNewInventory(InventoryUpdater, VersionInfo) - Method in class edu.wisc.library.ocfl.core.DefaultOcflRepository
 
buildNewInventory(OffsetDateTime, VersionInfo) - Method in class edu.wisc.library.ocfl.core.inventory.InventoryUpdater
Constructs a new Inventory that contains a new Version based on the changes that were recorded.
buildNextVersionFrom() - Method in class edu.wisc.library.ocfl.core.model.Inventory
Same as buildFrom except it moves the current digest to the previous digest and nulls the current digest.
buildStandardVersion(Inventory) - Method in class edu.wisc.library.ocfl.core.path.ContentPathMapper.Builder
 
BYTES - edu.wisc.library.ocfl.core.path.constraint.PathLengthConstraint.Type
 

C

Cache<K,​V> - Interface in edu.wisc.library.ocfl.core.cache
Extension point that allows the OCFL repository to use any number of different cache implementations so long as they conform to this interface.
CachingOcflStorage - Class in edu.wisc.library.ocfl.core.storage
Adds an Inventory caching layer on top of an OcflStorage implementation.
CachingOcflStorage(Cache<String, Inventory>, OcflStorage) - Constructor for class edu.wisc.library.ocfl.core.storage.CachingOcflStorage
 
CaffeineCache<K,​V> - Class in edu.wisc.library.ocfl.core.cache
In-memory cache implementation that is a wrapper around a Caffeine cache.
CaffeineCache(Cache) - Constructor for class edu.wisc.library.ocfl.core.cache.CaffeineCache
 
CHARACTERS - edu.wisc.library.ocfl.core.path.constraint.PathLengthConstraint.Type
 
charConstraint(PathCharConstraint) - Method in class edu.wisc.library.ocfl.core.path.constraint.PathConstraintProcessor.Builder
Adds a new character constraint
charConstraints(List<PathCharConstraint>) - Method in class edu.wisc.library.ocfl.core.path.constraint.PathConstraintProcessor.Builder
Replaces the list of character constraints
checkNewVersionFixity(boolean) - Method in class edu.wisc.library.ocfl.core.storage.filesystem.FileSystemOcflStorageBuilder
Overrides whether the fixity of new version content should be checked on version creation after moving the version into the OCFL object root.
clearFixity() - Method in class edu.wisc.library.ocfl.core.inventory.InventoryUpdater
Removes all entries from the fixity block.
clearFixity() - Method in class edu.wisc.library.ocfl.core.model.InventoryBuilder
Removes all of the entries from the fixity block.
clearFixityBlock() - Method in class edu.wisc.library.ocfl.core.DefaultOcflObjectUpdater
clearState() - Method in class edu.wisc.library.ocfl.core.inventory.InventoryUpdater
Removes all of the files from the version's state.
clearVersionState() - Method in class edu.wisc.library.ocfl.core.DefaultOcflObjectUpdater
close() - Method in class edu.wisc.library.ocfl.core.DefaultOcflRepository
close() - Method in class edu.wisc.library.ocfl.core.storage.AbstractOcflStorage
Shutsdown any resources the OclfStorage may have open, such as ExecutorServices.
close() - Method in class edu.wisc.library.ocfl.core.storage.CachingOcflStorage
Shutsdown any resources the OclfStorage may have open, such as ExecutorServices.
close() - Method in class edu.wisc.library.ocfl.core.storage.cloud.CloudOcflStorage
Shutsdown any resources the OclfStorage may have open, such as ExecutorServices.
close() - Method in class edu.wisc.library.ocfl.core.storage.filesystem.FileSystemOcflStorage
Shutsdown any resources the OclfStorage may have open, such as ExecutorServices.
close() - Method in class edu.wisc.library.ocfl.core.storage.ObjectDetailsDbOcflStorage
Shutsdown any resources the OclfStorage may have open, such as ExecutorServices.
close() - Method in class edu.wisc.library.ocfl.core.storage.OcflObjectRootDirIterator
 
close() - Method in interface edu.wisc.library.ocfl.core.storage.OcflStorage
Shutsdown any resources the OclfStorage may have open, such as ExecutorServices.
cloud() - Static method in class edu.wisc.library.ocfl.core.path.constraint.ContentPathConstraints
Constructs a ContentPathConstraintProcessor that applies the minimum path constraints across cloud providers (Amazon, Azure, Google).
cloudClient(CloudClient) - Method in class edu.wisc.library.ocfl.core.storage.cloud.CloudOcflFileRetriever.Builder
 
cloudClient(CloudClient) - Method in class edu.wisc.library.ocfl.core.storage.cloud.CloudOcflStorageBuilder
Sets the cloud client.
CloudClient - Interface in edu.wisc.library.ocfl.core.storage.cloud
Wrapper interface abstracting cloud provider clients
CloudObjectKey - Class in edu.wisc.library.ocfl.core.storage.cloud
Represents a key to an object in cloud storage.
CloudObjectKey.Builder - Class in edu.wisc.library.ocfl.core.storage.cloud
 
CloudOcflFileRetriever - Class in edu.wisc.library.ocfl.core.storage.cloud
OcflFileRetriever implementation for lazy-loading files from cloud storage.
CloudOcflFileRetriever(CloudClient, String, DigestAlgorithm, String) - Constructor for class edu.wisc.library.ocfl.core.storage.cloud.CloudOcflFileRetriever
 
CloudOcflFileRetriever.Builder - Class in edu.wisc.library.ocfl.core.storage.cloud
 
CloudOcflObjectRootDirIterator - Class in edu.wisc.library.ocfl.core.storage.cloud
Implementation of OcflObjectRootDirIterator that iterates over cloud objects
CloudOcflObjectRootDirIterator(String, CloudClient) - Constructor for class edu.wisc.library.ocfl.core.storage.cloud.CloudOcflObjectRootDirIterator
 
CloudOcflStorage - Class in edu.wisc.library.ocfl.core.storage.cloud
OcflStorage implementation for integrating with cloud storage providers.
CloudOcflStorage(CloudClient, CloudOcflStorageInitializer) - Constructor for class edu.wisc.library.ocfl.core.storage.cloud.CloudOcflStorage
Creates a new CloudOcflStorage object.
CloudOcflStorageBuilder - Class in edu.wisc.library.ocfl.core.storage.cloud
Builder for constructing S3OcflStorage objects.
CloudOcflStorageBuilder() - Constructor for class edu.wisc.library.ocfl.core.storage.cloud.CloudOcflStorageBuilder
 
CloudOcflStorageInitializer - Class in edu.wisc.library.ocfl.core.storage.cloud
Initializes an OCFL repository in cloud storage.
CloudOcflStorageInitializer(CloudClient, ObjectMapper) - Constructor for class edu.wisc.library.ocfl.core.storage.cloud.CloudOcflStorageInitializer
 
cloudStorage(Consumer<CloudOcflStorageBuilder>) - Method in class edu.wisc.library.ocfl.core.OcflRepositoryBuilder
Configures the repository to use Cloud based storage.
commit(Inventory, OffsetDateTime, VersionInfo) - Static method in class edu.wisc.library.ocfl.core.inventory.MutableHeadInventoryCommitter
Converts a mutable HEAD version into a regular OCFL version.
commitMutableHead(Inventory, Inventory, Path) - Method in class edu.wisc.library.ocfl.core.storage.CachingOcflStorage
Moves the mutable HEAD of any object into the object root and into an immutable version.
commitMutableHead(Inventory, Inventory, Path) - Method in class edu.wisc.library.ocfl.core.storage.cloud.CloudOcflStorage
Moves the mutable HEAD of any object into the object root and into an immutable version.
commitMutableHead(Inventory, Inventory, Path) - Method in class edu.wisc.library.ocfl.core.storage.filesystem.FileSystemOcflStorage
Moves the mutable HEAD of any object into the object root and into an immutable version.
commitMutableHead(Inventory, Inventory, Path) - Method in class edu.wisc.library.ocfl.core.storage.ObjectDetailsDbOcflStorage
Moves the mutable HEAD of any object into the object root and into an immutable version.
commitMutableHead(Inventory, Inventory, Path) - Method in interface edu.wisc.library.ocfl.core.storage.OcflStorage
Moves the mutable HEAD of any object into the object root and into an immutable version.
commitStagedChanges(String, VersionInfo) - Method in class edu.wisc.library.ocfl.core.DefaultMutableOcflRepository
compareTo(RevisionNum) - Method in class edu.wisc.library.ocfl.core.model.RevisionNum
 
computeDigest(DigestAlgorithm, ByteBuffer) - Static method in class edu.wisc.library.ocfl.core.util.DigestUtil
 
computeDigest(DigestAlgorithm, Path) - Static method in class edu.wisc.library.ocfl.core.util.DigestUtil
 
computeDigestHex(DigestAlgorithm, byte[]) - Static method in class edu.wisc.library.ocfl.core.util.DigestUtil
 
computeDigestHex(DigestAlgorithm, byte[], boolean) - Static method in class edu.wisc.library.ocfl.core.util.DigestUtil
 
computeDigestHex(DigestAlgorithm, String) - Static method in class edu.wisc.library.ocfl.core.util.DigestUtil
 
computeDigestHex(DigestAlgorithm, String, boolean) - Static method in class edu.wisc.library.ocfl.core.util.DigestUtil
 
computeDigestHex(DigestAlgorithm, Path) - Static method in class edu.wisc.library.ocfl.core.util.DigestUtil
 
computeDigestHex(DigestAlgorithm, Path, boolean) - Static method in class edu.wisc.library.ocfl.core.util.DigestUtil
 
config - Variable in class edu.wisc.library.ocfl.core.DefaultOcflRepository
 
config() - Method in class edu.wisc.library.ocfl.core.DefaultOcflRepository
conservativePercentEncodingMapper() - Static method in class edu.wisc.library.ocfl.core.path.mapper.LogicalPathMappers
Creates a percent-encoding that percent-encodes every character except: [a-zA-Z0-9_-].
constraints() - Static method in class edu.wisc.library.ocfl.core.path.constraint.LogicalPathConstraints
Logical paths may not: Begin or end with a '/' Contain empty filenames Contain the filenames '.' or '..'
constraintsWithBackslashCheck() - Static method in class edu.wisc.library.ocfl.core.path.constraint.LogicalPathConstraints
Logical paths may not: Begin or end with a '/' Contain empty filenames Contain the filenames '.' or '..' Use backslashes as path separators
contains(K) - Method in interface edu.wisc.library.ocfl.core.cache.Cache
Returns true if the cache contains the specified key
contains(K) - Method in class edu.wisc.library.ocfl.core.cache.CaffeineCache
Returns true if the cache contains the specified key
contains(K) - Method in class edu.wisc.library.ocfl.core.cache.NoOpCache
 
containsContentPath(String) - Method in class edu.wisc.library.ocfl.core.model.InventoryBuilder
Indicates if the manifest contains a contentPath
containsFileId(String) - Method in class edu.wisc.library.ocfl.core.model.InventoryBuilder
Indicates if the manifest contains a fileId
containsFileId(String) - Method in class edu.wisc.library.ocfl.core.model.PathBiMap
Indicates if the specified fileId is in the map
containsFileId(String) - Method in class edu.wisc.library.ocfl.core.model.VersionBuilder
Indicates if the state contains the fileId
containsLogicalPath(String) - Method in class edu.wisc.library.ocfl.core.model.VersionBuilder
Indicates if the state contains the logicalPath
containsObject(String) - Method in class edu.wisc.library.ocfl.core.DefaultOcflRepository
containsObject(String) - Method in class edu.wisc.library.ocfl.core.storage.CachingOcflStorage
Returns true if an object with the specified id exists in the repository.
containsObject(String) - Method in class edu.wisc.library.ocfl.core.storage.cloud.CloudOcflStorage
Returns true if an object with the specified id exists in the repository.
containsObject(String) - Method in class edu.wisc.library.ocfl.core.storage.filesystem.FileSystemOcflStorage
Returns true if an object with the specified id exists in the repository.
containsObject(String) - Method in class edu.wisc.library.ocfl.core.storage.ObjectDetailsDbOcflStorage
Returns true if an object with the specified id exists in the repository.
containsObject(String) - Method in interface edu.wisc.library.ocfl.core.storage.OcflStorage
Returns true if an object with the specified id exists in the repository.
containsPath(String) - Method in class edu.wisc.library.ocfl.core.model.PathBiMap
Indicates if the specified path is in the map
contentDirectory(String) - Method in class edu.wisc.library.ocfl.core.model.InventoryBuilder
 
contentPath() - Method in class edu.wisc.library.ocfl.core.ObjectPaths.VersionRoot
 
contentPathConstraintProcessor(ContentPathConstraintProcessor) - Method in class edu.wisc.library.ocfl.core.path.ContentPathMapper.Builder
 
contentPathConstraintProcessor(PathConstraintProcessor) - Method in class edu.wisc.library.ocfl.core.path.constraint.DefaultContentPathConstraintProcessor.Builder
Sets the PathConstraintProcessor to apply to content paths
ContentPathConstraintProcessor - Interface in edu.wisc.library.ocfl.core.path.constraint
 
contentPathConstraints(ContentPathConstraintProcessor) - Method in class edu.wisc.library.ocfl.core.OcflRepositoryBuilder
Overrides the default ContentPathConstraintProcessor that is used to enforce restrictions on what constitutes a valid content path.
ContentPathConstraints - Class in edu.wisc.library.ocfl.core.path.constraint
This class provides default path constraints that can be applied to OCFL content paths to attempt to ensure portability across various filesystems.
ContentPathMapper - Class in edu.wisc.library.ocfl.core.path
This maps logical paths to content paths and applies content path constraints.
ContentPathMapper(LogicalPathMapper, ContentPathConstraintProcessor, String, String, VersionNum, RevisionNum) - Constructor for class edu.wisc.library.ocfl.core.path.ContentPathMapper
 
ContentPathMapper.Builder - Class in edu.wisc.library.ocfl.core.path
 
contentPathMapperBuilder(ContentPathMapper.Builder) - Method in class edu.wisc.library.ocfl.core.inventory.InventoryUpdater.Builder
 
contentRoot() - Method in class edu.wisc.library.ocfl.core.ObjectPaths.VersionRoot
 
copy(InputStream, Path, StandardCopyOption...) - Static method in class edu.wisc.library.ocfl.core.util.UncheckedFiles
 
copy(Path, Path, StandardCopyOption...) - Static method in class edu.wisc.library.ocfl.core.util.UncheckedFiles
 
copyFileMakeParents(Path, Path, StandardCopyOption...) - Static method in class edu.wisc.library.ocfl.core.util.FileUtil
 
copyObject(String, String) - Method in interface edu.wisc.library.ocfl.core.storage.cloud.CloudClient
Copies an object from one location to another within the same bucket.
created(OffsetDateTime) - Method in class edu.wisc.library.ocfl.core.model.VersionBuilder
 
createDirectories(Path) - Static method in class edu.wisc.library.ocfl.core.util.UncheckedFiles
 
createDirectory(String) - Method in class edu.wisc.library.ocfl.core.storage.cloud.CloudOcflObjectRootDirIterator
 
createDirectory(String) - Method in class edu.wisc.library.ocfl.core.storage.filesystem.FileSystemOcflObjectRootDirIterator
 
createDirectory(String) - Method in class edu.wisc.library.ocfl.core.storage.OcflObjectRootDirIterator
Creates an object to maintain directory state
createDirectory(Path) - Static method in class edu.wisc.library.ocfl.core.util.UncheckedFiles
 
createObjectDetailsTable(String) - Method in class edu.wisc.library.ocfl.core.db.TableCreator
 
createObjectLockTable(String) - Method in class edu.wisc.library.ocfl.core.db.TableCreator
 
createObjectTempDir(Path, String) - Static method in class edu.wisc.library.ocfl.core.util.FileUtil
Creates a new directory as a child of the parent path named: md5(objectId)-[random-long] A hash is used to avoid problems with object ids that are longer than 255 characters.
createStagingDir(String) - Method in class edu.wisc.library.ocfl.core.DefaultOcflRepository
 
createStubInventory(ObjectVersionId) - Method in class edu.wisc.library.ocfl.core.DefaultOcflRepository
 
currentDigest(String) - Method in class edu.wisc.library.ocfl.core.model.InventoryBuilder
 

D

dataSource(DataSource) - Method in class edu.wisc.library.ocfl.core.db.ObjectDetailsDatabaseBuilder
Sets the DataSource to use for the object details table.
dataSource(DataSource) - Method in class edu.wisc.library.ocfl.core.lock.ObjectLockBuilder
Sets the DataSource to use for DB based locking.
DbType - Enum in edu.wisc.library.ocfl.core.db
This enum describes the database types that the library supports out of the box.
DefaultContentPathConstraintProcessor - Class in edu.wisc.library.ocfl.core.path.constraint
This class enforces constraints on content paths.
DefaultContentPathConstraintProcessor(PathConstraintProcessor, PathConstraintProcessor) - Constructor for class edu.wisc.library.ocfl.core.path.constraint.DefaultContentPathConstraintProcessor
Constructs a new ContentPathConstraintProcessor.
DefaultContentPathConstraintProcessor.Builder - Class in edu.wisc.library.ocfl.core.path.constraint
Use this to construct a ContentPathConstraintProcessor
defaultLayoutConfig(OcflExtensionConfig) - Method in class edu.wisc.library.ocfl.core.OcflRepositoryBuilder
Sets the default OCFL storage layout configuration.
defaultMapper() - Static method in class edu.wisc.library.ocfl.core.inventory.InventoryMapper
Creates an InventoryMapper that creates JSON files with as little whitespace as possible.
defaultMapper() - Static method in class edu.wisc.library.ocfl.core.util.ObjectMappers
Default Jackson mapper configured to serialize OCFL model objects correctly.
DefaultMutableOcflRepository - Class in edu.wisc.library.ocfl.core
Extends the OCFL repository to support OCFL objects with mutable HEADs.
DefaultMutableOcflRepository(OcflStorage, Path, ObjectLock, InventoryMapper, LogicalPathMapper, ContentPathConstraintProcessor, OcflConfig) - Constructor for class edu.wisc.library.ocfl.core.DefaultMutableOcflRepository
 
DefaultOcflObjectUpdater - Class in edu.wisc.library.ocfl.core
Default implementation of OcflObjectUpdater that is used by DefaultOcflRepository to provide write access to an object.
DefaultOcflObjectUpdater(Inventory, InventoryUpdater, Path, AddFileProcessor) - Constructor for class edu.wisc.library.ocfl.core.DefaultOcflObjectUpdater
 
DefaultOcflRepository - Class in edu.wisc.library.ocfl.core
Primary implementation of the OcflRepository API.
DefaultOcflRepository(OcflStorage, Path, ObjectLock, InventoryMapper, LogicalPathMapper, ContentPathConstraintProcessor, OcflConfig) - Constructor for class edu.wisc.library.ocfl.core.DefaultOcflRepository
 
delete(Path) - Static method in class edu.wisc.library.ocfl.core.util.UncheckedFiles
 
deleteChildren(Path) - Static method in class edu.wisc.library.ocfl.core.util.FileUtil
Recursively deletes all of the children of the specified path.
deleteDirAndParentsIfEmpty(Path) - Static method in class edu.wisc.library.ocfl.core.util.FileUtil
Deletes the specified directory and any of its parents that are empty.
deleteDirectory(Path) - Static method in class edu.wisc.library.ocfl.core.util.FileUtil
Recursive delete that deletes everything under and including the specified directory.
deleteEmptyDirs(Path) - Static method in class edu.wisc.library.ocfl.core.util.FileUtil
Deletes any empty directories under the specified path
deleteObjectDetails(String) - Method in class edu.wisc.library.ocfl.core.db.BaseObjectDetailsDatabase
Removes ObjectDetails from the database.
deleteObjectDetails(String) - Method in interface edu.wisc.library.ocfl.core.db.ObjectDetailsDatabase
Removes ObjectDetails from the database.
deleteObjects(Collection<String>) - Method in interface edu.wisc.library.ocfl.core.storage.cloud.CloudClient
Deletes all of the specified objects.
deletePath(String) - Method in interface edu.wisc.library.ocfl.core.storage.cloud.CloudClient
Deletes all of the objects under the specified path
describeObject(String) - Method in class edu.wisc.library.ocfl.core.DefaultOcflRepository
describeVersion(ObjectVersionId) - Method in class edu.wisc.library.ocfl.core.DefaultOcflRepository
digestAlgorithm(DigestAlgorithm) - Method in class edu.wisc.library.ocfl.core.model.InventoryBuilder
 
DigestUtil - Class in edu.wisc.library.ocfl.core.util
 
DirectLogicalPathMapper - Class in edu.wisc.library.ocfl.core.path.mapper
Directly maps logical paths to content paths without making any changes.
DirectLogicalPathMapper() - Constructor for class edu.wisc.library.ocfl.core.path.mapper.DirectLogicalPathMapper
 
directMapper() - Static method in class edu.wisc.library.ocfl.core.path.mapper.LogicalPathMappers
Creates a LogicalPathMapper that directly maps logical paths to content paths, making no changes.
DirectoryListing() - Constructor for class edu.wisc.library.ocfl.core.storage.cloud.ListResult.DirectoryListing
 
doInitialize(OcflExtensionConfig) - Method in class edu.wisc.library.ocfl.core.storage.AbstractOcflStorage
Does whatever is necessary to initialize OCFL repository storage.
doInitialize(OcflExtensionConfig) - Method in class edu.wisc.library.ocfl.core.storage.CachingOcflStorage
Does whatever is necessary to initialize OCFL repository storage.
doInitialize(OcflExtensionConfig) - Method in class edu.wisc.library.ocfl.core.storage.cloud.CloudOcflStorage
Does whatever is necessary to initialize OCFL repository storage.
doInitialize(OcflExtensionConfig) - Method in class edu.wisc.library.ocfl.core.storage.filesystem.FileSystemOcflStorage
Does whatever is necessary to initialize OCFL repository storage.
doInitialize(OcflExtensionConfig) - Method in class edu.wisc.library.ocfl.core.storage.ObjectDetailsDbOcflStorage
Does whatever is necessary to initialize OCFL repository storage.
doInWriteLock(String, Runnable) - Method in class edu.wisc.library.ocfl.core.lock.H2ObjectLock
Executes the code block after securing a write lock on the objectId.
doInWriteLock(String, Runnable) - Method in class edu.wisc.library.ocfl.core.lock.InMemoryObjectLock
Executes the code block after securing a write lock on the objectId.
doInWriteLock(String, Runnable) - Method in interface edu.wisc.library.ocfl.core.lock.ObjectLock
Executes the code block after securing a write lock on the objectId.
doInWriteLock(String, Runnable) - Method in class edu.wisc.library.ocfl.core.lock.PostgresObjectLock
Executes the code block after securing a write lock on the objectId.
doInWriteLock(String, Callable<T>) - Method in class edu.wisc.library.ocfl.core.lock.H2ObjectLock
Executes the code block after securing a write lock on the objectId.
doInWriteLock(String, Callable<T>) - Method in class edu.wisc.library.ocfl.core.lock.InMemoryObjectLock
Executes the code block after securing a write lock on the objectId.
doInWriteLock(String, Callable<T>) - Method in interface edu.wisc.library.ocfl.core.lock.ObjectLock
Executes the code block after securing a write lock on the objectId.
doInWriteLock(String, Callable<T>) - Method in class edu.wisc.library.ocfl.core.lock.PostgresObjectLock
Executes the code block after securing a write lock on the objectId.
downloadFile(String, Path) - Method in interface edu.wisc.library.ocfl.core.storage.cloud.CloudClient
Downloads an object to the local filesystem.
downloadStream(String) - Method in interface edu.wisc.library.ocfl.core.storage.cloud.CloudClient
Downloads and object and performs a fixity check as it streams to disk.
downloadString(String) - Method in interface edu.wisc.library.ocfl.core.storage.cloud.CloudClient
Downloads an object to a string.

E

edu.wisc.library.ocfl.core - package edu.wisc.library.ocfl.core
 
edu.wisc.library.ocfl.core.cache - package edu.wisc.library.ocfl.core.cache
 
edu.wisc.library.ocfl.core.db - package edu.wisc.library.ocfl.core.db
 
edu.wisc.library.ocfl.core.extension - package edu.wisc.library.ocfl.core.extension
 
edu.wisc.library.ocfl.core.extension.storage.layout - package edu.wisc.library.ocfl.core.extension.storage.layout
 
edu.wisc.library.ocfl.core.extension.storage.layout.config - package edu.wisc.library.ocfl.core.extension.storage.layout.config
 
edu.wisc.library.ocfl.core.inventory - package edu.wisc.library.ocfl.core.inventory
 
edu.wisc.library.ocfl.core.lock - package edu.wisc.library.ocfl.core.lock
 
edu.wisc.library.ocfl.core.model - package edu.wisc.library.ocfl.core.model
 
edu.wisc.library.ocfl.core.path - package edu.wisc.library.ocfl.core.path
 
edu.wisc.library.ocfl.core.path.constraint - package edu.wisc.library.ocfl.core.path.constraint
 
edu.wisc.library.ocfl.core.path.mapper - package edu.wisc.library.ocfl.core.path.mapper
 
edu.wisc.library.ocfl.core.storage - package edu.wisc.library.ocfl.core.storage
 
edu.wisc.library.ocfl.core.storage.cloud - package edu.wisc.library.ocfl.core.storage.cloud
 
edu.wisc.library.ocfl.core.storage.filesystem - package edu.wisc.library.ocfl.core.storage.filesystem
 
edu.wisc.library.ocfl.core.util - package edu.wisc.library.ocfl.core.util
 
edu.wisc.library.ocfl.core.validation - package edu.wisc.library.ocfl.core.validation
 
enforceObjectVersionForUpdate(ObjectVersionId, Inventory) - Method in class edu.wisc.library.ocfl.core.DefaultOcflRepository
 
ensureContentPath(String) - Method in class edu.wisc.library.ocfl.core.model.Inventory
Returns the first contentPath associated to a fileId.
ensureOpen() - Method in class edu.wisc.library.ocfl.core.DefaultOcflRepository
 
ensureOpen() - Method in class edu.wisc.library.ocfl.core.storage.AbstractOcflStorage
Throws an exception if the repository has not been initialized or is closed
ensureVersion(VersionNum) - Method in class edu.wisc.library.ocfl.core.model.Inventory
Returns the Version that corresponds to the version number.
equals(Object) - Method in class edu.wisc.library.ocfl.core.extension.storage.layout.config.FlatLayoutConfig
 
equals(Object) - Method in class edu.wisc.library.ocfl.core.extension.storage.layout.config.HashedNTupleIdEncapsulationLayoutConfig
 
equals(Object) - Method in class edu.wisc.library.ocfl.core.extension.storage.layout.config.HashedNTupleLayoutConfig
 
equals(Object) - Method in class edu.wisc.library.ocfl.core.model.Inventory
 
equals(Object) - Method in class edu.wisc.library.ocfl.core.model.PathBiMap
 
equals(Object) - Method in class edu.wisc.library.ocfl.core.model.RevisionNum
 
equals(Object) - Method in class edu.wisc.library.ocfl.core.model.User
 
equals(Object) - Method in class edu.wisc.library.ocfl.core.model.Version
 
equals(Object) - Method in class edu.wisc.library.ocfl.core.storage.cloud.CloudObjectKey
 
equals(Object) - Method in class edu.wisc.library.ocfl.core.storage.cloud.HeadResult
 
escape(int) - Method in class edu.wisc.library.ocfl.core.util.PercentEscaper
Escapes the given Unicode code point in UTF-8.
escape(String) - Method in class edu.wisc.library.ocfl.core.util.PercentEscaper
 
exportObject(String, Path) - Method in class edu.wisc.library.ocfl.core.storage.CachingOcflStorage
Copies a raw OCFL object to the specified directory.
exportObject(String, Path) - Method in class edu.wisc.library.ocfl.core.storage.cloud.CloudOcflStorage
Copies a raw OCFL object to the specified directory.
exportObject(String, Path) - Method in class edu.wisc.library.ocfl.core.storage.filesystem.FileSystemOcflStorage
Copies a raw OCFL object to the specified directory.
exportObject(String, Path) - Method in class edu.wisc.library.ocfl.core.storage.ObjectDetailsDbOcflStorage
Copies a raw OCFL object to the specified directory.
exportObject(String, Path) - Method in interface edu.wisc.library.ocfl.core.storage.OcflStorage
Copies a raw OCFL object to the specified directory.
exportObject(String, Path, OcflOption...) - Method in class edu.wisc.library.ocfl.core.DefaultOcflRepository
exportVersion(ObjectVersionId, Path) - Method in class edu.wisc.library.ocfl.core.storage.CachingOcflStorage
Copies a raw OCFL object version to the specified directory.
exportVersion(ObjectVersionId, Path) - Method in class edu.wisc.library.ocfl.core.storage.cloud.CloudOcflStorage
Copies a raw OCFL object version to the specified directory.
exportVersion(ObjectVersionId, Path) - Method in class edu.wisc.library.ocfl.core.storage.filesystem.FileSystemOcflStorage
Copies a raw OCFL object version to the specified directory.
exportVersion(ObjectVersionId, Path) - Method in class edu.wisc.library.ocfl.core.storage.ObjectDetailsDbOcflStorage
Copies a raw OCFL object version to the specified directory.
exportVersion(ObjectVersionId, Path) - Method in interface edu.wisc.library.ocfl.core.storage.OcflStorage
Copies a raw OCFL object version to the specified directory.
exportVersion(ObjectVersionId, Path, OcflOption...) - Method in class edu.wisc.library.ocfl.core.DefaultOcflRepository
EXTENSION_NAME - Static variable in class edu.wisc.library.ocfl.core.extension.storage.layout.FlatLayoutExtension
 
EXTENSION_NAME - Static variable in class edu.wisc.library.ocfl.core.extension.storage.layout.HashedNTupleIdEncapsulationLayoutExtension
 
EXTENSION_NAME - Static variable in class edu.wisc.library.ocfl.core.extension.storage.layout.HashedNTupleLayoutExtension
 
extensionsPath(String) - Static method in class edu.wisc.library.ocfl.core.ObjectPaths
Path to the extensions directory within an object
extensionsPath(Path) - Static method in class edu.wisc.library.ocfl.core.ObjectPaths
Path to the extensions directory within an object

F

fileChangeHistory(Inventory, String) - Method in class edu.wisc.library.ocfl.core.util.ResponseMapper
 
fileChangeHistory(String, String) - Method in class edu.wisc.library.ocfl.core.DefaultOcflRepository
fileContent() - Method in class edu.wisc.library.ocfl.core.util.NamasteTypeFile
 
fileName() - Method in class edu.wisc.library.ocfl.core.util.NamasteTypeFile
 
fileNameConstraint(FileNameConstraint) - Method in class edu.wisc.library.ocfl.core.path.constraint.PathConstraintProcessor.Builder
Adds a new filename constraint
FileNameConstraint - Interface in edu.wisc.library.ocfl.core.path.constraint
Validates that a filename meets a defined constraint
fileNameConstraints(List<FileNameConstraint>) - Method in class edu.wisc.library.ocfl.core.path.constraint.PathConstraintProcessor.Builder
Replaces the list of filename constraints
FileSystemOcflFileRetriever - Class in edu.wisc.library.ocfl.core.storage.filesystem
OcflFileRetriever implementation for lazy-loading files from file system storage.
FileSystemOcflFileRetriever(Path, DigestAlgorithm, String) - Constructor for class edu.wisc.library.ocfl.core.storage.filesystem.FileSystemOcflFileRetriever
 
FileSystemOcflObjectRootDirIterator - Class in edu.wisc.library.ocfl.core.storage.filesystem
Implementation of OcflObjectRootDirIterator that iterates over the filesystem
FileSystemOcflObjectRootDirIterator(Path) - Constructor for class edu.wisc.library.ocfl.core.storage.filesystem.FileSystemOcflObjectRootDirIterator
 
FileSystemOcflStorage - Class in edu.wisc.library.ocfl.core.storage.filesystem
 
FileSystemOcflStorage(Path, boolean, FileSystemOcflStorageInitializer) - Constructor for class edu.wisc.library.ocfl.core.storage.filesystem.FileSystemOcflStorage
Creates a new FileSystemOcflStorage object.
FileSystemOcflStorageBuilder - Class in edu.wisc.library.ocfl.core.storage.filesystem
Builder for constructing FileSystemOcflStorage objects.
FileSystemOcflStorageBuilder() - Constructor for class edu.wisc.library.ocfl.core.storage.filesystem.FileSystemOcflStorageBuilder
 
FileSystemOcflStorageInitializer - Class in edu.wisc.library.ocfl.core.storage.filesystem
Prepares an OCFL storage root for use.
FileSystemOcflStorageInitializer(ObjectMapper) - Constructor for class edu.wisc.library.ocfl.core.storage.filesystem.FileSystemOcflStorageInitializer
 
fileSystemStorage(Consumer<FileSystemOcflStorageBuilder>) - Method in class edu.wisc.library.ocfl.core.OcflRepositoryBuilder
Configures the repository to use file system based storage.
FileUtil - Class in edu.wisc.library.ocfl.core.util
 
findFiles(Path) - Static method in class edu.wisc.library.ocfl.core.util.FileUtil
 
findInventorySidecarPath(Path) - Static method in class edu.wisc.library.ocfl.core.ObjectPaths
Path to an inventory sidecar file within the given directory
findMutableHeadRootInventorySidecarPath(Path) - Static method in class edu.wisc.library.ocfl.core.ObjectPaths
Path to the saved sidecar file within the mutable head extension
fixity(Map<DigestAlgorithm, Map<String, Set<String>>>) - Method in class edu.wisc.library.ocfl.core.model.InventoryBuilder
 
fixityBiMap(Map<DigestAlgorithm, PathBiMap>) - Method in class edu.wisc.library.ocfl.core.model.InventoryBuilder
 
FlatLayoutConfig - Class in edu.wisc.library.ocfl.core.extension.storage.layout.config
Configuration for the Flat Storage Layout extension.
FlatLayoutConfig() - Constructor for class edu.wisc.library.ocfl.core.extension.storage.layout.config.FlatLayoutConfig
 
FlatLayoutExtension - Class in edu.wisc.library.ocfl.core.extension.storage.layout
Implementation of the Flat Storage Layout extension.
FlatLayoutExtension() - Constructor for class edu.wisc.library.ocfl.core.extension.storage.layout.FlatLayoutExtension
 
fromDataSource(DataSource) - Static method in enum edu.wisc.library.ocfl.core.db.DbType
 
fromFileIdMap(Map<String, Set<String>>) - Static method in class edu.wisc.library.ocfl.core.model.PathBiMap
Constructs a new PathBiMap from an existing map of fileIds to paths.
fromInt(int) - Static method in class edu.wisc.library.ocfl.core.model.RevisionNum
 
fromLogicalPath(String) - Method in class edu.wisc.library.ocfl.core.path.ContentPathMapper
Returns a content path for the given logical path after sanitizing it and ensuring that it meets the configured content path constraints.
fromString(String) - Static method in class edu.wisc.library.ocfl.core.model.RevisionNum
 

G

get(K, Function<K, V>) - Method in interface edu.wisc.library.ocfl.core.cache.Cache
Retrieves a value from the cache.
get(K, Function<K, V>) - Method in class edu.wisc.library.ocfl.core.cache.CaffeineCache
Retrieves a value from the cache.
get(K, Function<K, V>) - Method in class edu.wisc.library.ocfl.core.cache.NoOpCache
 
getAddress() - Method in class edu.wisc.library.ocfl.core.model.User
 
getContentDirectory() - Method in class edu.wisc.library.ocfl.core.model.Inventory
Use resolveContentDirectory() instead
getContentEncoding() - Method in class edu.wisc.library.ocfl.core.storage.cloud.HeadResult
 
getContentLength() - Method in class edu.wisc.library.ocfl.core.storage.cloud.HeadResult
 
getContentPath() - Method in class edu.wisc.library.ocfl.core.inventory.InventoryUpdater.AddFileResult
The content path of the file
getContentPath() - Method in class edu.wisc.library.ocfl.core.inventory.InventoryUpdater.RemoveFileResult
 
getContentPath(String) - Method in class edu.wisc.library.ocfl.core.model.Inventory
Returns the first path to a file that maps to the given digest
getContentPaths(String) - Method in class edu.wisc.library.ocfl.core.model.Inventory
Returns the set of paths that are identified by the given digest if they exist.
getContentPaths(String) - Method in class edu.wisc.library.ocfl.core.model.InventoryBuilder
Retrieves the content paths associated to the fileId or an empty set
getCreated() - Method in class edu.wisc.library.ocfl.core.model.Version
 
getCurrentDigest() - Method in class edu.wisc.library.ocfl.core.model.Inventory
Returns the digest of the this version or null if it's not known.
getDescription() - Method in class edu.wisc.library.ocfl.core.extension.storage.layout.FlatLayoutExtension
 
getDescription() - Method in class edu.wisc.library.ocfl.core.extension.storage.layout.HashedNTupleIdEncapsulationLayoutExtension
getDescription() - Method in class edu.wisc.library.ocfl.core.extension.storage.layout.HashedNTupleLayoutExtension
getDescription() - Method in class edu.wisc.library.ocfl.core.extension.storage.layout.OcflLayout
 
getDescription() - Method in interface edu.wisc.library.ocfl.core.extension.storage.layout.OcflStorageLayoutExtension
 
getDigestAlgorithm() - Method in class edu.wisc.library.ocfl.core.db.OcflObjectDetails
The algorithm used to compute the inventory digest
getDigestAlgorithm() - Method in class edu.wisc.library.ocfl.core.extension.storage.layout.config.HashedNTupleIdEncapsulationLayoutConfig
 
getDigestAlgorithm() - Method in class edu.wisc.library.ocfl.core.extension.storage.layout.config.HashedNTupleLayoutConfig
 
getDigestAlgorithm() - Method in class edu.wisc.library.ocfl.core.model.Inventory
 
getDigestAlgorithmFromSidecar(String) - Static method in class edu.wisc.library.ocfl.core.inventory.SidecarMapper
 
getDirectories() - Method in class edu.wisc.library.ocfl.core.storage.cloud.ListResult
The directories that were returned by the list operation
getETag() - Method in class edu.wisc.library.ocfl.core.storage.cloud.HeadResult
 
getExtension() - Method in class edu.wisc.library.ocfl.core.extension.storage.layout.OcflLayout
 
getExtensionConfigClass() - Method in class edu.wisc.library.ocfl.core.extension.storage.layout.FlatLayoutExtension
 
getExtensionConfigClass() - Method in class edu.wisc.library.ocfl.core.extension.storage.layout.HashedNTupleIdEncapsulationLayoutExtension
 
getExtensionConfigClass() - Method in class edu.wisc.library.ocfl.core.extension.storage.layout.HashedNTupleLayoutExtension
 
getExtensionConfigClass() - Method in interface edu.wisc.library.ocfl.core.extension.storage.layout.OcflStorageLayoutExtension
The class that represents the extensions deserialized configuration.
getExtensionName() - Method in interface edu.wisc.library.ocfl.core.extension.OcflExtension
Returns the name of the extension
getExtensionName() - Method in interface edu.wisc.library.ocfl.core.extension.OcflExtensionConfig
Returns the name of the extension the config is for.
getExtensionName() - Method in class edu.wisc.library.ocfl.core.extension.storage.layout.config.FlatLayoutConfig
 
getExtensionName() - Method in class edu.wisc.library.ocfl.core.extension.storage.layout.config.HashedNTupleIdEncapsulationLayoutConfig
 
getExtensionName() - Method in class edu.wisc.library.ocfl.core.extension.storage.layout.config.HashedNTupleLayoutConfig
 
getExtensionName() - Method in class edu.wisc.library.ocfl.core.extension.storage.layout.FlatLayoutExtension
Returns the name of the extension
getExtensionName() - Method in class edu.wisc.library.ocfl.core.extension.storage.layout.HashedNTupleIdEncapsulationLayoutExtension
Returns the name of the extension
getExtensionName() - Method in class edu.wisc.library.ocfl.core.extension.storage.layout.HashedNTupleLayoutExtension
Returns the name of the extension
getFileFixity(String, DigestAlgorithm) - Method in class edu.wisc.library.ocfl.core.model.InventoryBuilder
Returns the fixity digest for a file or null
getFileId(String) - Method in class edu.wisc.library.ocfl.core.model.Inventory
Returns the digest that is used to identify the given path if it exists.
getFileId(String) - Method in class edu.wisc.library.ocfl.core.model.InventoryBuilder
Retrieves the fileId associated to the content path
getFileId(String) - Method in class edu.wisc.library.ocfl.core.model.PathBiMap
Returns the fileId associated to the path or null
getFileId(String) - Method in class edu.wisc.library.ocfl.core.model.Version
Returns the file id associated to the given logical path.
getFileId(String) - Method in class edu.wisc.library.ocfl.core.model.VersionBuilder
Retrieves the fileId associated to the logicalPath
getFileId(Path) - Method in class edu.wisc.library.ocfl.core.model.Inventory
Returns the digest that is used to identify the given path if it exists.
getFileIdsForMatchingFiles(String) - Method in class edu.wisc.library.ocfl.core.model.Inventory
Returns the set of file ids of files that have content paths that begin with the given prefix.
getFileIdsForMatchingFiles(Path) - Method in class edu.wisc.library.ocfl.core.model.Inventory
Returns the set of file ids of files that have content paths that begin with the given prefix.
getFileIdToPaths() - Method in class edu.wisc.library.ocfl.core.model.PathBiMap
Returns an immutable view of the PathBiMap, mapping fileIds to paths.
getFixity() - Method in class edu.wisc.library.ocfl.core.model.Inventory
 
getFixityDigest(String, DigestAlgorithm) - Method in class edu.wisc.library.ocfl.core.inventory.InventoryUpdater
Gets the fixity digest for the specified file or null.
getFixityForContentPath(String) - Method in class edu.wisc.library.ocfl.core.model.Inventory
Returns the fixity information for a contentPath.
getHead() - Method in class edu.wisc.library.ocfl.core.model.Inventory
 
getHeadVersion() - Method in class edu.wisc.library.ocfl.core.model.Inventory
 
getId() - Method in class edu.wisc.library.ocfl.core.model.Inventory
 
getInventoryBytes() - Method in class edu.wisc.library.ocfl.core.db.OcflObjectDetails
The bytes of the serialized inventory
getInventoryDigest() - Method in class edu.wisc.library.ocfl.core.db.OcflObjectDetails
The digest of the serialized inventory
getInvertedState() - Method in class edu.wisc.library.ocfl.core.model.VersionBuilder
Returns a map of logical paths to file ids of all of the files in the version's state
getKey() - Method in class edu.wisc.library.ocfl.core.storage.cloud.CloudObjectKey
The composed object key that includes the prefix and the path
getKey() - Method in class edu.wisc.library.ocfl.core.storage.cloud.ListResult.ObjectListing
The key the object is stored at.
getKeySuffix() - Method in class edu.wisc.library.ocfl.core.storage.cloud.ListResult.ObjectListing
The object's key suffix, the portion of the key that appears after the key prefix the list operation was on
getLastModified() - Method in class edu.wisc.library.ocfl.core.storage.cloud.HeadResult
 
getLogicalPaths(String) - Method in class edu.wisc.library.ocfl.core.model.VersionBuilder
Retrieves all of the logical paths associated to the fileId or an empty set
getManifest() - Method in class edu.wisc.library.ocfl.core.model.Inventory
A map of all of the files that are part of the object across all versions of the object.
getMessage() - Method in class edu.wisc.library.ocfl.core.model.Version
 
getName() - Method in class edu.wisc.library.ocfl.core.model.User
 
getNumberOfTuples() - Method in class edu.wisc.library.ocfl.core.extension.storage.layout.config.HashedNTupleIdEncapsulationLayoutConfig
 
getNumberOfTuples() - Method in class edu.wisc.library.ocfl.core.extension.storage.layout.config.HashedNTupleLayoutConfig
 
getObject(ObjectVersionId) - Method in class edu.wisc.library.ocfl.core.DefaultOcflRepository
getObject(ObjectVersionId, Path) - Method in class edu.wisc.library.ocfl.core.DefaultOcflRepository
getObjectId() - Method in class edu.wisc.library.ocfl.core.db.OcflObjectDetails
The OCFL object id
getObjectRootPath() - Method in class edu.wisc.library.ocfl.core.db.OcflObjectDetails
The storage relative path to the object's root directory
getObjectRootPath() - Method in class edu.wisc.library.ocfl.core.model.Inventory
 
getObjects() - Method in class edu.wisc.library.ocfl.core.storage.cloud.ListResult
The list of objects that were returned by the list operation
getObjectStreams(Inventory, VersionNum) - Method in class edu.wisc.library.ocfl.core.storage.CachingOcflStorage
Returns a map of OcflFileRetriever objects that are used to lazy-load object files.
getObjectStreams(Inventory, VersionNum) - Method in class edu.wisc.library.ocfl.core.storage.cloud.CloudOcflStorage
Returns a map of OcflFileRetriever objects that are used to lazy-load object files.
getObjectStreams(Inventory, VersionNum) - Method in class edu.wisc.library.ocfl.core.storage.filesystem.FileSystemOcflStorage
Returns a map of OcflFileRetriever objects that are used to lazy-load object files.
getObjectStreams(Inventory, VersionNum) - Method in class edu.wisc.library.ocfl.core.storage.ObjectDetailsDbOcflStorage
Returns a map of OcflFileRetriever objects that are used to lazy-load object files.
getObjectStreams(Inventory, VersionNum) - Method in interface edu.wisc.library.ocfl.core.storage.OcflStorage
Returns a map of OcflFileRetriever objects that are used to lazy-load object files.
getPath() - Method in class edu.wisc.library.ocfl.core.storage.cloud.CloudObjectKey
The part of the object key that's under the common prefix
getPath() - Method in class edu.wisc.library.ocfl.core.storage.cloud.ListResult.DirectoryListing
The object key prefix
getPaths(String) - Method in class edu.wisc.library.ocfl.core.model.PathBiMap
Returns all of the paths associated to the fileId, or an empty set.
getPaths(String) - Method in class edu.wisc.library.ocfl.core.model.Version
Returns the logical paths associated with the given file id
getPathToFileId() - Method in class edu.wisc.library.ocfl.core.model.PathBiMap
Returns an immutable view of the PathBiMap, mapping paths to fileIds
getPathUnderContentDir() - Method in class edu.wisc.library.ocfl.core.inventory.InventoryUpdater.AddFileResult
The portion of the content path that's under the content directory
getPathUnderContentDir() - Method in class edu.wisc.library.ocfl.core.inventory.InventoryUpdater.RemoveFileResult
 
getPrefix() - Method in class edu.wisc.library.ocfl.core.storage.cloud.CloudObjectKey
The common key prefix for an OCFL repository within a bucket, may be empty
getPreviousDigest() - Method in class edu.wisc.library.ocfl.core.model.Inventory
Returns the digest in the previous version's sidecar file or null
getRevisionNum() - Method in class edu.wisc.library.ocfl.core.db.OcflObjectDetails
The HEAD revision of the object.
getRevisionNum() - Method in class edu.wisc.library.ocfl.core.model.Inventory
If there's an active mutable HEAD, its revision number is returned.
getState() - Method in class edu.wisc.library.ocfl.core.model.Version
A map of all of the files that are part of this version of the object.
getTupleSize() - Method in class edu.wisc.library.ocfl.core.extension.storage.layout.config.HashedNTupleIdEncapsulationLayoutConfig
 
getTupleSize() - Method in class edu.wisc.library.ocfl.core.extension.storage.layout.config.HashedNTupleLayoutConfig
 
getType() - Method in class edu.wisc.library.ocfl.core.model.Inventory
 
getUpdateTimestamp() - Method in class edu.wisc.library.ocfl.core.db.OcflObjectDetails
The timestamp the record was last updated
getUser() - Method in class edu.wisc.library.ocfl.core.model.Version
 
getVersion(VersionNum) - Method in class edu.wisc.library.ocfl.core.model.Inventory
 
getVersionNum() - Method in class edu.wisc.library.ocfl.core.db.OcflObjectDetails
The HEAD version of the object
getVersions() - Method in class edu.wisc.library.ocfl.core.model.Inventory
A map of version number to the object that describes the state of the object at that version.

H

H2 - edu.wisc.library.ocfl.core.db.DbType
 
H2ObjectDetailsDatabase - Class in edu.wisc.library.ocfl.core.db
 
H2ObjectDetailsDatabase(String, DataSource, boolean, long, TimeUnit) - Constructor for class edu.wisc.library.ocfl.core.db.H2ObjectDetailsDatabase
 
H2ObjectLock - Class in edu.wisc.library.ocfl.core.lock
 
H2ObjectLock(String, DataSource, long, TimeUnit) - Constructor for class edu.wisc.library.ocfl.core.lock.H2ObjectLock
 
hasChildren(Path) - Static method in class edu.wisc.library.ocfl.core.util.FileUtil
 
hashCode() - Method in class edu.wisc.library.ocfl.core.extension.storage.layout.config.FlatLayoutConfig
 
hashCode() - Method in class edu.wisc.library.ocfl.core.extension.storage.layout.config.HashedNTupleIdEncapsulationLayoutConfig
 
hashCode() - Method in class edu.wisc.library.ocfl.core.extension.storage.layout.config.HashedNTupleLayoutConfig
 
hashCode() - Method in class edu.wisc.library.ocfl.core.model.Inventory
 
hashCode() - Method in class edu.wisc.library.ocfl.core.model.PathBiMap
 
hashCode() - Method in class edu.wisc.library.ocfl.core.model.RevisionNum
 
hashCode() - Method in class edu.wisc.library.ocfl.core.model.User
 
hashCode() - Method in class edu.wisc.library.ocfl.core.model.Version
 
hashCode() - Method in class edu.wisc.library.ocfl.core.storage.cloud.CloudObjectKey
 
hashCode() - Method in class edu.wisc.library.ocfl.core.storage.cloud.HeadResult
 
HashedNTupleIdEncapsulationLayoutConfig - Class in edu.wisc.library.ocfl.core.extension.storage.layout.config
HashedNTupleIdEncapsulationLayoutConfig() - Constructor for class edu.wisc.library.ocfl.core.extension.storage.layout.config.HashedNTupleIdEncapsulationLayoutConfig
Creates a new config object with all of the default values set.
HashedNTupleIdEncapsulationLayoutExtension - Class in edu.wisc.library.ocfl.core.extension.storage.layout
HashedNTupleIdEncapsulationLayoutExtension() - Constructor for class edu.wisc.library.ocfl.core.extension.storage.layout.HashedNTupleIdEncapsulationLayoutExtension
 
HashedNTupleLayoutConfig - Class in edu.wisc.library.ocfl.core.extension.storage.layout.config
Configuration for the Hashed Truncated N-tuple Trees for OCFL Storage Hierarchies extension.
HashedNTupleLayoutConfig() - Constructor for class edu.wisc.library.ocfl.core.extension.storage.layout.config.HashedNTupleLayoutConfig
Creates a new config object with all of the default values set.
HashedNTupleLayoutExtension - Class in edu.wisc.library.ocfl.core.extension.storage.layout
Implementation of the Hashed Truncated N-tuple Trees for OCFL Storage Hierarchies extension.
HashedNTupleLayoutExtension() - Constructor for class edu.wisc.library.ocfl.core.extension.storage.layout.HashedNTupleLayoutExtension
 
hasMutableHead() - Method in class edu.wisc.library.ocfl.core.model.Inventory
Indicates if there's an active mutable HEAD
hasMutableHead() - Method in class edu.wisc.library.ocfl.core.model.InventoryBuilder
 
hasNext() - Method in class edu.wisc.library.ocfl.core.storage.OcflObjectRootDirIterator
 
hasParameters() - Method in interface edu.wisc.library.ocfl.core.extension.OcflExtensionConfig
Indicates if the extension defines parameters.
hasParameters() - Method in class edu.wisc.library.ocfl.core.extension.storage.layout.config.FlatLayoutConfig
 
hasParameters() - Method in class edu.wisc.library.ocfl.core.extension.storage.layout.config.HashedNTupleIdEncapsulationLayoutConfig
 
hasParameters() - Method in class edu.wisc.library.ocfl.core.extension.storage.layout.config.HashedNTupleLayoutConfig
 
hasStagedChanges(String) - Method in class edu.wisc.library.ocfl.core.DefaultMutableOcflRepository
head(VersionNum) - Method in class edu.wisc.library.ocfl.core.model.InventoryBuilder
 
head(String) - Method in interface edu.wisc.library.ocfl.core.storage.cloud.CloudClient
Heads the object at the specified path.
HeadResult - Class in edu.wisc.library.ocfl.core.storage.cloud
Encapsulates the results of a head operation
HeadResult() - Constructor for class edu.wisc.library.ocfl.core.storage.cloud.HeadResult
 
headRevisionPath() - Method in class edu.wisc.library.ocfl.core.ObjectPaths.ContentRoot
 
headVersion() - Method in class edu.wisc.library.ocfl.core.ObjectPaths.ObjectRoot
 
headVersionPath() - Method in class edu.wisc.library.ocfl.core.ObjectPaths.ObjectRoot
 

I

id(String) - Method in class edu.wisc.library.ocfl.core.model.InventoryBuilder
 
importObject(String, Path) - Method in class edu.wisc.library.ocfl.core.storage.CachingOcflStorage
Moves an entire OCFL object into the repository.
importObject(String, Path) - Method in class edu.wisc.library.ocfl.core.storage.cloud.CloudOcflStorage
Moves an entire OCFL object into the repository.
importObject(String, Path) - Method in class edu.wisc.library.ocfl.core.storage.filesystem.FileSystemOcflStorage
Moves an entire OCFL object into the repository.
importObject(String, Path) - Method in class edu.wisc.library.ocfl.core.storage.ObjectDetailsDbOcflStorage
Moves an entire OCFL object into the repository.
importObject(String, Path) - Method in interface edu.wisc.library.ocfl.core.storage.OcflStorage
Moves an entire OCFL object into the repository.
importObject(Path, OcflOption...) - Method in class edu.wisc.library.ocfl.core.DefaultOcflRepository
importVersion(Path, OcflOption...) - Method in class edu.wisc.library.ocfl.core.DefaultOcflRepository
init(OcflExtensionConfig) - Method in class edu.wisc.library.ocfl.core.extension.storage.layout.FlatLayoutExtension
Configures the extension.
init(OcflExtensionConfig) - Method in class edu.wisc.library.ocfl.core.extension.storage.layout.HashedNTupleIdEncapsulationLayoutExtension
Configures the extension.
init(OcflExtensionConfig) - Method in class edu.wisc.library.ocfl.core.extension.storage.layout.HashedNTupleLayoutExtension
Configures the extension.
init(OcflExtensionConfig) - Method in interface edu.wisc.library.ocfl.core.extension.storage.layout.OcflStorageLayoutExtension
Configures the extension.
initializer(CloudOcflStorageInitializer) - Method in class edu.wisc.library.ocfl.core.storage.cloud.CloudOcflStorageBuilder
Overrides the default CloudOcflStorageInitializer.
initializer(FileSystemOcflStorageInitializer) - Method in class edu.wisc.library.ocfl.core.storage.filesystem.FileSystemOcflStorageBuilder
Overrides the default FileSystemOcflStorageInitializer.
initializeStorage(OcflVersion, OcflExtensionConfig) - Method in class edu.wisc.library.ocfl.core.storage.cloud.CloudOcflStorageInitializer
 
initializeStorage(OcflVersion, OcflExtensionConfig, InventoryMapper) - Method in class edu.wisc.library.ocfl.core.storage.AbstractOcflStorage
Initializes the OCFL root.
initializeStorage(OcflVersion, OcflExtensionConfig, InventoryMapper) - Method in interface edu.wisc.library.ocfl.core.storage.OcflStorage
Initializes the OCFL root.
initializeStorage(Path, OcflVersion, OcflExtensionConfig) - Method in class edu.wisc.library.ocfl.core.storage.filesystem.FileSystemOcflStorageInitializer
Prepares an OCFL storage root for use.
InMemoryObjectLock - Class in edu.wisc.library.ocfl.core.lock
In-memory implementation of ObjectLock that uses Java's ReentrantReadWriteLock.
InMemoryObjectLock(long, TimeUnit) - Constructor for class edu.wisc.library.ocfl.core.lock.InMemoryObjectLock
How long to wait when attempting to acquire a lock.
invalidate(K) - Method in interface edu.wisc.library.ocfl.core.cache.Cache
Invalidates the key in the cache.
invalidate(K) - Method in class edu.wisc.library.ocfl.core.cache.CaffeineCache
Invalidates the key in the cache.
invalidate(K) - Method in class edu.wisc.library.ocfl.core.cache.NoOpCache
 
Inventory - Class in edu.wisc.library.ocfl.core.model
OCFL inventory object.
Inventory(String, InventoryType, DigestAlgorithm, VersionNum, String, Map<DigestAlgorithm, Map<String, Set<String>>>, Map<String, Set<String>>, Map<VersionNum, Version>, boolean, RevisionNum, String, String, String) - Constructor for class edu.wisc.library.ocfl.core.model.Inventory
 
Inventory.JacksonBuilder - Class in edu.wisc.library.ocfl.core.model
This builder is only intended to be used by Jackson for deserializing inventory files.
InventoryBuilder - Class in edu.wisc.library.ocfl.core.model
Used to construct Inventory objects.
InventoryBuilder() - Constructor for class edu.wisc.library.ocfl.core.model.InventoryBuilder
 
InventoryBuilder(Inventory) - Constructor for class edu.wisc.library.ocfl.core.model.InventoryBuilder
Used to construct a new Inventory that's based on an existing inventory.
inventoryCache(Cache<String, Inventory>) - Method in class edu.wisc.library.ocfl.core.OcflRepositoryBuilder
Used to cache deserialized inventories.
inventoryFile() - Method in interface edu.wisc.library.ocfl.core.ObjectPaths.HasInventory
 
inventoryFile() - Method in class edu.wisc.library.ocfl.core.ObjectPaths.ObjectRoot
 
inventoryFile() - Method in class edu.wisc.library.ocfl.core.ObjectPaths.VersionRoot
 
inventoryMapper - Variable in class edu.wisc.library.ocfl.core.DefaultOcflRepository
 
inventoryMapper - Variable in class edu.wisc.library.ocfl.core.storage.AbstractOcflStorage
 
inventoryMapper(InventoryMapper) - Method in class edu.wisc.library.ocfl.core.OcflRepositoryBuilder
Used to override the default InventoryMapper, which is used to serialize Inventories to JSON files.
InventoryMapper - Class in edu.wisc.library.ocfl.core.inventory
Wrapper around Jackson's ObjectMapper for serializing and deserializing Inventories.
InventoryMapper(ObjectMapper) - Constructor for class edu.wisc.library.ocfl.core.inventory.InventoryMapper
Should use InventoryMapper.defaultMapper() or InventoryMapper.prettyPrintMapper() unless you know what you're doing.
inventoryPath(String) - Static method in class edu.wisc.library.ocfl.core.ObjectPaths
Path to an inventory file within the given directory
inventoryPath(Path) - Static method in class edu.wisc.library.ocfl.core.ObjectPaths
Path to an inventory file within the given directory
inventorySidecar() - Method in interface edu.wisc.library.ocfl.core.ObjectPaths.HasInventory
 
inventorySidecar() - Method in class edu.wisc.library.ocfl.core.ObjectPaths.ObjectRoot
 
inventorySidecar() - Method in class edu.wisc.library.ocfl.core.ObjectPaths.VersionRoot
 
inventorySidecarPath(String, Inventory) - Static method in class edu.wisc.library.ocfl.core.ObjectPaths
Path to an inventory sidecar file within the given directory
inventorySidecarPath(Path, Inventory) - Static method in class edu.wisc.library.ocfl.core.ObjectPaths
Path to an inventory sidecar file within the given directory
InventoryUpdater - Class in edu.wisc.library.ocfl.core.inventory
This class is used to record changes to OCFL objects and construct an updated inventory.
InventoryUpdater.AddFileResult - Class in edu.wisc.library.ocfl.core.inventory
Indicates the result of an add file operation.
InventoryUpdater.Builder - Class in edu.wisc.library.ocfl.core.inventory
 
InventoryUpdater.RemoveFileResult - Class in edu.wisc.library.ocfl.core.inventory
Indicates that a file was removed from the manifest.
inventoryUpdaterBuilder - Variable in class edu.wisc.library.ocfl.core.DefaultOcflRepository
 
InventoryValidator - Class in edu.wisc.library.ocfl.core.validation
Validates that an Inventory meets the minimum requirements to be serialized as valid OCFL inventory.
isDirEmpty(Path) - Static method in class edu.wisc.library.ocfl.core.util.FileUtil
 
isNew() - Method in class edu.wisc.library.ocfl.core.inventory.InventoryUpdater.AddFileResult
 
isObjectRoot(String) - Method in class edu.wisc.library.ocfl.core.storage.cloud.CloudOcflObjectRootDirIterator
 
isObjectRoot(String) - Method in class edu.wisc.library.ocfl.core.storage.filesystem.FileSystemOcflObjectRootDirIterator
 
isObjectRoot(String) - Method in class edu.wisc.library.ocfl.core.storage.OcflObjectRootDirIterator
Indicates if a directory path is an object root path
isRevisionNum(String) - Static method in class edu.wisc.library.ocfl.core.model.RevisionNum
 
isShortObjectRoot() - Method in class edu.wisc.library.ocfl.core.extension.storage.layout.config.HashedNTupleLayoutConfig
 

J

JacksonBuilder() - Constructor for class edu.wisc.library.ocfl.core.model.Inventory.JacksonBuilder
 

K

KeyNotFoundException - Exception in edu.wisc.library.ocfl.core.storage.cloud
This exception is thrown when a cloud storage provider cannot find the specified key.
KeyNotFoundException() - Constructor for exception edu.wisc.library.ocfl.core.storage.cloud.KeyNotFoundException
 
KeyNotFoundException(String) - Constructor for exception edu.wisc.library.ocfl.core.storage.cloud.KeyNotFoundException
 
KeyNotFoundException(String, Throwable) - Constructor for exception edu.wisc.library.ocfl.core.storage.cloud.KeyNotFoundException
 
KeyNotFoundException(Throwable) - Constructor for exception edu.wisc.library.ocfl.core.storage.cloud.KeyNotFoundException
 

L

list(String) - Method in interface edu.wisc.library.ocfl.core.storage.cloud.CloudClient
Lists all of the keys under a prefix.
listDirectory(String) - Method in interface edu.wisc.library.ocfl.core.storage.cloud.CloudClient
Lists all of the keys within a virtual directory.
listObjectIds() - Method in class edu.wisc.library.ocfl.core.DefaultOcflRepository
listObjectIds() - Method in class edu.wisc.library.ocfl.core.storage.CachingOcflStorage
Returns a stream of object ids for all of the OCFL objects stored in a repository.
listObjectIds() - Method in class edu.wisc.library.ocfl.core.storage.cloud.CloudOcflStorage
Returns a stream of object ids for all of the OCFL objects stored in a repository.
listObjectIds() - Method in class edu.wisc.library.ocfl.core.storage.filesystem.FileSystemOcflStorage
Returns a stream of object ids for all of the OCFL objects stored in a repository.
listObjectIds() - Method in class edu.wisc.library.ocfl.core.storage.ObjectDetailsDbOcflStorage
Returns a stream of object ids for all of the OCFL objects stored in a repository.
listObjectIds() - Method in interface edu.wisc.library.ocfl.core.storage.OcflStorage
Returns a stream of object ids for all of the OCFL objects stored in a repository.
ListResult - Class in edu.wisc.library.ocfl.core.storage.cloud
Encapsulates the results of a list operation
ListResult() - Constructor for class edu.wisc.library.ocfl.core.storage.cloud.ListResult
 
ListResult.DirectoryListing - Class in edu.wisc.library.ocfl.core.storage.cloud
Encapsulates a virtual directory.
ListResult.ObjectListing - Class in edu.wisc.library.ocfl.core.storage.cloud
Encapsulates an object key and its suffix.
loadInventory(ObjectVersionId) - Method in class edu.wisc.library.ocfl.core.DefaultOcflRepository
 
loadInventory(String) - Method in class edu.wisc.library.ocfl.core.storage.CachingOcflStorage
If the inventory is cached, it's returned immediately.
loadInventory(String) - Method in class edu.wisc.library.ocfl.core.storage.cloud.CloudOcflStorage
Returns a verified copy of the most recent object inventory.
loadInventory(String) - Method in class edu.wisc.library.ocfl.core.storage.filesystem.FileSystemOcflStorage
Returns a verified copy of the most recent object inventory.
loadInventory(String) - Method in class edu.wisc.library.ocfl.core.storage.ObjectDetailsDbOcflStorage
If the object is stored in the database with its inventory, then the inventory is loaded from there.
loadInventory(String) - Method in interface edu.wisc.library.ocfl.core.storage.OcflStorage
Returns a verified copy of the most recent object inventory.
LogicalPathConstraints - Class in edu.wisc.library.ocfl.core.path.constraint
Describes the constraints that are applied to logical paths.
logicalPathMapper(LogicalPathMapper) - Method in class edu.wisc.library.ocfl.core.OcflRepositoryBuilder
Overrides the default DirectLogicalPathMapper.
logicalPathMapper(LogicalPathMapper) - Method in class edu.wisc.library.ocfl.core.path.ContentPathMapper.Builder
 
LogicalPathMapper - Interface in edu.wisc.library.ocfl.core.path.mapper
Maps logical paths to content paths.
LogicalPathMappers - Class in edu.wisc.library.ocfl.core.path.mapper
This class defines common LogicalPathMapper implementations.
logsPath(String) - Static method in class edu.wisc.library.ocfl.core.ObjectPaths
Path to the logs directory within an object
logsPath(Path) - Static method in class edu.wisc.library.ocfl.core.ObjectPaths
Path to the logs directory within an object
lookup(String) - Static method in class edu.wisc.library.ocfl.core.extension.OcflExtensionRegistry
Returns a registered extension implementation, if one exists.

M

manifest(PathBiMap) - Method in class edu.wisc.library.ocfl.core.model.InventoryBuilder
 
manifest(Map<String, Set<String>>) - Method in class edu.wisc.library.ocfl.core.model.InventoryBuilder
 
manifestContainsFileId(String) - Method in class edu.wisc.library.ocfl.core.model.Inventory
Helper method for checking if an object contains a file with the given digest id.
mapInventory(Inventory) - Method in class edu.wisc.library.ocfl.core.util.ResponseMapper
 
mapObjectId(String) - Method in class edu.wisc.library.ocfl.core.extension.storage.layout.FlatLayoutExtension
Maps an object id to its path within the OCFL storage root.
mapObjectId(String) - Method in class edu.wisc.library.ocfl.core.extension.storage.layout.HashedNTupleIdEncapsulationLayoutExtension
Maps an object id to its path within the OCFL storage root.
mapObjectId(String) - Method in class edu.wisc.library.ocfl.core.extension.storage.layout.HashedNTupleLayoutExtension
Maps an object id to its path within the OCFL storage root.
mapObjectId(String) - Method in interface edu.wisc.library.ocfl.core.extension.storage.layout.OcflStorageLayoutExtension
Maps an object id to its path within the OCFL storage root.
mapVersion(Inventory, VersionNum, Version) - Method in class edu.wisc.library.ocfl.core.util.ResponseMapper
 
maxBytes(int) - Static method in class edu.wisc.library.ocfl.core.path.constraint.PathLengthConstraint
Creates a new constraint that limits the number of bytes in a path
maxChars(int) - Static method in class edu.wisc.library.ocfl.core.path.constraint.PathLengthConstraint
Creates a new constraint that limits the number of characters in a path
message(String) - Method in class edu.wisc.library.ocfl.core.model.VersionBuilder
 
moveDirectory(Path, Path) - Static method in class edu.wisc.library.ocfl.core.util.FileUtil
Performs an atomic directory move.
moveFileMakeParents(Path, Path, StandardCopyOption...) - Static method in class edu.wisc.library.ocfl.core.util.FileUtil
 
mustBeginWith(String) - Static method in class edu.wisc.library.ocfl.core.path.constraint.BeginEndPathConstraint
Creates a new constraint that validates that a path DOES begin with a specified prefix
mustContain(Pattern) - Static method in class edu.wisc.library.ocfl.core.path.constraint.RegexPathConstraint
Creates a new constraint that validates paths do match the regex
mustEndWith(String) - Static method in class edu.wisc.library.ocfl.core.path.constraint.BeginEndPathConstraint
Creates a new constraint that validates that a path DOES end with a specified suffix
mustNotBeginWith(String) - Static method in class edu.wisc.library.ocfl.core.path.constraint.BeginEndPathConstraint
Creates a new constraint that validates that a path DOES NOT begin with a specified prefix
mustNotContain(Pattern) - Static method in class edu.wisc.library.ocfl.core.path.constraint.RegexPathConstraint
Creates a new constraint that validates paths do not match the regex
mustNotEndWith(String) - Static method in class edu.wisc.library.ocfl.core.path.constraint.BeginEndPathConstraint
Creates a new constraint that validates that a path DOES NOT end with a specified suffix
mutableHead(boolean) - Method in class edu.wisc.library.ocfl.core.model.InventoryBuilder
 
mutableHeadExtensionPath() - Method in class edu.wisc.library.ocfl.core.ObjectPaths.ObjectRoot
 
mutableHeadExtensionRoot(String) - Static method in class edu.wisc.library.ocfl.core.ObjectPaths
Path to the mutable HEAD extension root directory
mutableHeadExtensionRoot(Path) - Static method in class edu.wisc.library.ocfl.core.ObjectPaths
Path to the mutable HEAD extension root directory
MutableHeadInventoryCommitter - Class in edu.wisc.library.ocfl.core.inventory
Converts a mutable HEAD version into a regular OCFL version.
mutableHeadInventoryPath(String) - Static method in class edu.wisc.library.ocfl.core.ObjectPaths
Path to an inventory file within the mutable HEAD
mutableHeadInventoryPath(Path) - Static method in class edu.wisc.library.ocfl.core.ObjectPaths
Path to an inventory file within the mutable HEAD
mutableHeadInventorySidecarPath(String, Inventory) - Static method in class edu.wisc.library.ocfl.core.ObjectPaths
Path to an inventory sidecar file within the given directory
mutableHeadPath() - Method in class edu.wisc.library.ocfl.core.ObjectPaths.ObjectRoot
 
mutableHeadRevisionsPath() - Method in class edu.wisc.library.ocfl.core.ObjectPaths.ObjectRoot
 
mutableHeadRevisionsPath(String) - Static method in class edu.wisc.library.ocfl.core.ObjectPaths
Path the revisions directory under the mutable HEAD extension directory
mutableHeadRevisionsPath(Path) - Static method in class edu.wisc.library.ocfl.core.ObjectPaths
Path the revisions directory under the mutable HEAD extension directory
mutableHeadVersion() - Method in class edu.wisc.library.ocfl.core.ObjectPaths.ObjectRoot
 
mutableHeadVersionPath(String) - Static method in class edu.wisc.library.ocfl.core.ObjectPaths
Path to the mutable HEAD extension version directory
mutableHeadVersionPath(Path) - Static method in class edu.wisc.library.ocfl.core.ObjectPaths
Path to the mutable HEAD extension version directory

N

NamasteTypeFile - Class in edu.wisc.library.ocfl.core.util
 
NamasteTypeFile(String) - Constructor for class edu.wisc.library.ocfl.core.util.NamasteTypeFile
 
next() - Method in class edu.wisc.library.ocfl.core.storage.OcflObjectRootDirIterator
 
nextChildDirectory() - Method in interface edu.wisc.library.ocfl.core.storage.OcflObjectRootDirIterator.Directory
 
nextEscapeIndex(CharSequence, int, int) - Method in class edu.wisc.library.ocfl.core.util.PercentEscaper
 
nextRevisionNum() - Method in class edu.wisc.library.ocfl.core.model.Inventory
Returns the next revision number.
nextRevisionNum() - Method in class edu.wisc.library.ocfl.core.model.RevisionNum
 
nextVersionNum() - Method in class edu.wisc.library.ocfl.core.model.Inventory
Returns the next version number after the current HEAD version.
none() - Static method in class edu.wisc.library.ocfl.core.path.constraint.ContentPathConstraints
Constructs a ContentPathConstraintProcessor that does no special validation.
NonEmptyFileNameConstraint - Class in edu.wisc.library.ocfl.core.path.constraint
Validates that there are no empty filenames
NonEmptyFileNameConstraint() - Constructor for class edu.wisc.library.ocfl.core.path.constraint.NonEmptyFileNameConstraint
 
NoOpCache<K,​V> - Class in edu.wisc.library.ocfl.core.cache
Pass-through cache implementation that never caches.
NoOpCache() - Constructor for class edu.wisc.library.ocfl.core.cache.NoOpCache
 
now(VersionInfo) - Method in class edu.wisc.library.ocfl.core.DefaultOcflRepository
 

O

ObjectDetailsDatabase - Interface in edu.wisc.library.ocfl.core.db
Interface for interacting with OCFL object details that are stored in a database.
ObjectDetailsDatabaseBuilder - Class in edu.wisc.library.ocfl.core.db
Constructs ObjectDetailsDatabase instances
ObjectDetailsDatabaseBuilder() - Constructor for class edu.wisc.library.ocfl.core.db.ObjectDetailsDatabaseBuilder
 
objectDetailsDb(ObjectDetailsDatabase) - Method in class edu.wisc.library.ocfl.core.OcflRepositoryBuilder
Used to store details about OCFL objects in the repository.
objectDetailsDb(Consumer<ObjectDetailsDatabaseBuilder>) - Method in class edu.wisc.library.ocfl.core.OcflRepositoryBuilder
Used to store details about OCFL objects in the repository.
ObjectDetailsDbOcflStorage - Class in edu.wisc.library.ocfl.core.storage
 
ObjectDetailsDbOcflStorage(ObjectDetailsDatabase, OcflStorage) - Constructor for class edu.wisc.library.ocfl.core.storage.ObjectDetailsDbOcflStorage
 
objectId() - Method in class edu.wisc.library.ocfl.core.ObjectPaths.ContentRoot
 
objectId() - Method in class edu.wisc.library.ocfl.core.ObjectPaths.ObjectRoot
 
objectId() - Method in class edu.wisc.library.ocfl.core.ObjectPaths.VersionRoot
 
ObjectListing() - Constructor for class edu.wisc.library.ocfl.core.storage.cloud.ListResult.ObjectListing
 
objectLock - Variable in class edu.wisc.library.ocfl.core.DefaultOcflRepository
 
objectLock(ObjectLock) - Method in class edu.wisc.library.ocfl.core.OcflRepositoryBuilder
Used to lock objects when writing.
objectLock(Consumer<ObjectLockBuilder>) - Method in class edu.wisc.library.ocfl.core.OcflRepositoryBuilder
Configures the object lock that's used.
ObjectLock - Interface in edu.wisc.library.ocfl.core.lock
Extension point that allows the OCFL repository to use any number of different lock implementations so long as they conform to this interface.
ObjectLockBuilder - Class in edu.wisc.library.ocfl.core.lock
Constructs new ObjectLock instances
ObjectLockBuilder() - Constructor for class edu.wisc.library.ocfl.core.lock.ObjectLockBuilder
 
objectMapper(ObjectMapper) - Method in class edu.wisc.library.ocfl.core.storage.cloud.CloudOcflStorageBuilder
Overrides the default ObjectMapper that's used to serialize ocfl_layout.json
objectMapper(ObjectMapper) - Method in class edu.wisc.library.ocfl.core.storage.filesystem.FileSystemOcflStorageBuilder
Overrides the default ObjectMapper that's used to serialize ocfl_layout.json
ObjectMappers - Class in edu.wisc.library.ocfl.core.util
 
objectNamastePath(String) - Static method in class edu.wisc.library.ocfl.core.ObjectPaths
Path to the object's namaste file.
objectNamastePath(Path) - Static method in class edu.wisc.library.ocfl.core.ObjectPaths
Path to the object's namaste file.
ObjectPaths - Class in edu.wisc.library.ocfl.core
Centralizes common OCFL path locations
ObjectPaths.ContentRoot - Class in edu.wisc.library.ocfl.core
Provides methods for navigating a version's content directory
ObjectPaths.HasInventory - Interface in edu.wisc.library.ocfl.core
 
ObjectPaths.ObjectRoot - Class in edu.wisc.library.ocfl.core
Provides methods for navigating an OCFL object root
ObjectPaths.VersionRoot - Class in edu.wisc.library.ocfl.core
Provides methods for navigating an OCFL object version directory
objectRoot(Inventory) - Static method in class edu.wisc.library.ocfl.core.ObjectPaths
Creates an ObjectRoot with paths relative to the object's root
objectRoot(Inventory, Path) - Static method in class edu.wisc.library.ocfl.core.ObjectPaths
Creates an ObjectRoot using absolute paths
objectRootPath(String) - Method in class edu.wisc.library.ocfl.core.model.InventoryBuilder
 
objectRootPath(String) - Method in class edu.wisc.library.ocfl.core.storage.CachingOcflStorage
Returns the path from the storage root to the object root.
objectRootPath(String) - Method in class edu.wisc.library.ocfl.core.storage.cloud.CloudOcflStorage
Returns the path from the storage root to the object root.
objectRootPath(String) - Method in class edu.wisc.library.ocfl.core.storage.filesystem.FileSystemOcflStorage
Returns the path from the storage root to the object root.
objectRootPath(String) - Method in class edu.wisc.library.ocfl.core.storage.ObjectDetailsDbOcflStorage
Returns the path from the storage root to the object root.
objectRootPath(String) - Method in interface edu.wisc.library.ocfl.core.storage.OcflStorage
Returns the path from the storage root to the object root.
objectValidator - Variable in class edu.wisc.library.ocfl.core.DefaultOcflRepository
 
ObjectValidator - Class in edu.wisc.library.ocfl.core.validation
 
ObjectValidator(InventoryMapper) - Constructor for class edu.wisc.library.ocfl.core.validation.ObjectValidator
 
OCFL_OBJECT_MARKER_PREFIX - Static variable in class edu.wisc.library.ocfl.core.storage.OcflObjectRootDirIterator
 
ocflConfig(OcflConfig) - Method in class edu.wisc.library.ocfl.core.OcflRepositoryBuilder
Sets OCFL configuration options.
ocflConfig(Consumer<OcflConfig>) - Method in class edu.wisc.library.ocfl.core.OcflRepositoryBuilder
Sets OCFL configuration options.
OcflExtension - Interface in edu.wisc.library.ocfl.core.extension
Marker interface for an OCFL extension implementation
OcflExtensionConfig - Interface in edu.wisc.library.ocfl.core.extension
Represents deserialized extension configuration.
OcflExtensionRegistry - Class in edu.wisc.library.ocfl.core.extension
Registry for mapping extensions to their implementations.
OcflLayout - Class in edu.wisc.library.ocfl.core.extension.storage.layout
This class is a representation of the ocfl_layout.json file.
OcflLayout() - Constructor for class edu.wisc.library.ocfl.core.extension.storage.layout.OcflLayout
 
OcflObjectDetails - Class in edu.wisc.library.ocfl.core.db
Represents a ObjectDetails database record.
OcflObjectDetails() - Constructor for class edu.wisc.library.ocfl.core.db.OcflObjectDetails
 
OcflObjectRootDirIterator - Class in edu.wisc.library.ocfl.core.storage
Iterator that iterates over OCFL object root directories.
OcflObjectRootDirIterator(String) - Constructor for class edu.wisc.library.ocfl.core.storage.OcflObjectRootDirIterator
 
OcflObjectRootDirIterator.Directory - Interface in edu.wisc.library.ocfl.core.storage
Encapsulates a directory for iterating over its children
OcflRepositoryBuilder - Class in edu.wisc.library.ocfl.core
Constructs a local file system based OCFL repository sensible defaults that can be overridden prior to calling build().
OcflRepositoryBuilder() - Constructor for class edu.wisc.library.ocfl.core.OcflRepositoryBuilder
Constructs a local file system based OCFL repository sensible defaults that can be overridden prior to calling build().
OcflStorage - Interface in edu.wisc.library.ocfl.core.storage
Extension point that allows the OCFL repository to use any number of storage implementations so long as they conform to this interface.
OcflStorageLayoutExtension - Interface in edu.wisc.library.ocfl.core.extension.storage.layout
Interface for OCFL storage layout extensions.
ocflVersion - Variable in class edu.wisc.library.ocfl.core.storage.AbstractOcflStorage
 

P

path() - Method in class edu.wisc.library.ocfl.core.ObjectPaths.ObjectRoot
 
path() - Method in class edu.wisc.library.ocfl.core.ObjectPaths.VersionRoot
 
PathBiMap - Class in edu.wisc.library.ocfl.core.model
BiDirection map implementation that focuses on OCFL structures.
PathBiMap() - Constructor for class edu.wisc.library.ocfl.core.model.PathBiMap
 
PathCharConstraint - Interface in edu.wisc.library.ocfl.core.path.constraint
Validates that the characters in a filename meet a defined constraint
pathConstraint(PathConstraint) - Method in class edu.wisc.library.ocfl.core.path.constraint.PathConstraintProcessor.Builder
Adds a new path constraint
PathConstraint - Interface in edu.wisc.library.ocfl.core.path.constraint
Validates that a path meets a defined constraint
PathConstraintProcessor - Class in edu.wisc.library.ocfl.core.path.constraint
A PathConstraintProcessor is used to apply a preconfigured set of constraints to a given path.
PathConstraintProcessor(List<PathConstraint>, List<FileNameConstraint>, List<PathCharConstraint>) - Constructor for class edu.wisc.library.ocfl.core.path.constraint.PathConstraintProcessor
Constructs a new PathConstraintProcessor.
PathConstraintProcessor.Builder - Class in edu.wisc.library.ocfl.core.path.constraint
Use this to construct a new PathConstraintProcessor
pathConstraints(List<PathConstraint>) - Method in class edu.wisc.library.ocfl.core.path.constraint.PathConstraintProcessor.Builder
Replaces the list of path constraints
pathJoinFailEmpty(String...) - Static method in class edu.wisc.library.ocfl.core.util.FileUtil
Joins all of the parts together as a path separated by '/'.
pathJoinIgnoreEmpty(String...) - Static method in class edu.wisc.library.ocfl.core.util.FileUtil
Joins all of the parts together as a path separated by '/'.
PathLengthConstraint - Class in edu.wisc.library.ocfl.core.path.constraint
Validates that a path or filename are not longer than a fixed number of characters or bytes
PathLengthConstraint(int, PathLengthConstraint.Type) - Constructor for class edu.wisc.library.ocfl.core.path.constraint.PathLengthConstraint
 
PathLengthConstraint.Type - Enum in edu.wisc.library.ocfl.core.path.constraint
 
pathToStringStandardSeparator(Path) - Static method in class edu.wisc.library.ocfl.core.util.FileUtil
Returns a string representation of a Path that uses '/' as the file separator.
percentEncodingAllMapper() - Static method in class edu.wisc.library.ocfl.core.path.mapper.LogicalPathMappers
Creates a percent-encoding that encodes the following characters that are generally problematic across Windows, linux, and cloud platforms: ASCII characters codes: x0-x1f ASCII characters codes: x7f-xa0 Characters: <>:"\|?* #[] This should produce generally safe content paths, but they are not guaranteed safe.
percentEncodingCloudMapper() - Static method in class edu.wisc.library.ocfl.core.path.mapper.LogicalPathMappers
Creates a percent-encoding that encodes the following characters that are problematic for some cloud storage platforms: ASCII characters codes: x0-x1f ASCII characters codes: x7f-xa0 Characters: \#[]*? This should produce generally safe content paths, but they are not guaranteed safe.
percentEncodingLinuxMapper() - Static method in class edu.wisc.library.ocfl.core.path.mapper.LogicalPathMappers
Creates a percent-encoding that encodes the following characters: ASCII characters codes: x0-x1f ASCII characters codes: x7f-xa0 Characters: Linux is extremely permissive when it comes to the characters that are allowed in filenames.
PercentEncodingLogicalPathMapper - Class in edu.wisc.library.ocfl.core.path.mapper
A LogicalPathMapper that percent-encodes specific characters in logical paths to produce safe content paths.
PercentEncodingLogicalPathMapper(PercentEscaper) - Constructor for class edu.wisc.library.ocfl.core.path.mapper.PercentEncodingLogicalPathMapper
percentEncodingWindowsMapper() - Static method in class edu.wisc.library.ocfl.core.path.mapper.LogicalPathMappers
Creates a percent-encoding mapper that encodes the following characters that are problematic for Windows: ASCII characters codes: x0-x1f ASCII characters codes: x7f-xa0 Characters: <>:"\|?* This should produce generally safe content paths, but they are not guaranteed safe.
PercentEscaper - Class in edu.wisc.library.ocfl.core.util
NOTICE: This class is copied from Guava 28.2-jre and modified to support lowercase hex encoding and either encoding all characters not in a given set or encoding only the characters in a given set by Peter Winckles.
PercentEscaper.Builder - Class in edu.wisc.library.ocfl.core.util
 
plusForSpace(boolean) - Method in class edu.wisc.library.ocfl.core.util.PercentEscaper.Builder
 
POSTGRES - edu.wisc.library.ocfl.core.db.DbType
 
PostgresObjectDetailsDatabase - Class in edu.wisc.library.ocfl.core.db
 
PostgresObjectDetailsDatabase(String, DataSource, boolean, long, TimeUnit) - Constructor for class edu.wisc.library.ocfl.core.db.PostgresObjectDetailsDatabase
 
PostgresObjectLock - Class in edu.wisc.library.ocfl.core.lock
 
PostgresObjectLock(String, DataSource, long, TimeUnit) - Constructor for class edu.wisc.library.ocfl.core.lock.PostgresObjectLock
 
prefix() - Method in interface edu.wisc.library.ocfl.core.storage.cloud.CloudClient
The key prefix of all objects within the OCFL repository.
prefix(String) - Method in class edu.wisc.library.ocfl.core.storage.cloud.CloudObjectKey.Builder
 
prependCharConstraint(PathCharConstraint) - Method in class edu.wisc.library.ocfl.core.path.constraint.PathConstraintProcessor
Adds a new character constraint to the beginning of the list of character constraints
prependFileNameConstraint(FileNameConstraint) - Method in class edu.wisc.library.ocfl.core.path.constraint.PathConstraintProcessor
Adds a new filename constraint to the beginning of the list of filename constraints
prependPathConstraint(PathConstraint) - Method in class edu.wisc.library.ocfl.core.path.constraint.PathConstraintProcessor
Adds a new path constraint to the beginning of the list of path constraints
prettyPrintJson() - Method in class edu.wisc.library.ocfl.core.OcflRepositoryBuilder
Changes the InventoryMapper to pretty print Inventory JSON files so that they are human readable but use more disk space.
prettyPrintMapper() - Static method in class edu.wisc.library.ocfl.core.inventory.InventoryMapper
Creates an InventoryMapper that will pretty print JSON files.
prettyPrintMapper() - Static method in class edu.wisc.library.ocfl.core.util.ObjectMappers
The same as ObjectMappers.defaultMapper() except it pretty prints.
previousDigest(String) - Method in class edu.wisc.library.ocfl.core.model.InventoryBuilder
 
previousRevisionNum() - Method in class edu.wisc.library.ocfl.core.model.RevisionNum
 
processPath(Path, OcflOption...) - Method in class edu.wisc.library.ocfl.core.inventory.AddFileProcessor
Adds all of the files at or under the sourcePath to the root of the object.
processPath(Path, String, OcflOption...) - Method in class edu.wisc.library.ocfl.core.inventory.AddFileProcessor
Adds all of the files at or under the sourcePath to the object at the specified destinationPath.
purgeMutableHead(String) - Method in class edu.wisc.library.ocfl.core.storage.CachingOcflStorage
Permanently removes the mutable HEAD of an object.
purgeMutableHead(String) - Method in class edu.wisc.library.ocfl.core.storage.cloud.CloudOcflStorage
Permanently removes the mutable HEAD of an object.
purgeMutableHead(String) - Method in class edu.wisc.library.ocfl.core.storage.filesystem.FileSystemOcflStorage
Permanently removes the mutable HEAD of an object.
purgeMutableHead(String) - Method in class edu.wisc.library.ocfl.core.storage.ObjectDetailsDbOcflStorage
Permanently removes the mutable HEAD of an object.
purgeMutableHead(String) - Method in interface edu.wisc.library.ocfl.core.storage.OcflStorage
Permanently removes the mutable HEAD of an object.
purgeObject(String) - Method in class edu.wisc.library.ocfl.core.DefaultOcflRepository
purgeObject(String) - Method in class edu.wisc.library.ocfl.core.storage.CachingOcflStorage
Permanently removes an object from the repository.
purgeObject(String) - Method in class edu.wisc.library.ocfl.core.storage.cloud.CloudOcflStorage
Permanently removes an object from the repository.
purgeObject(String) - Method in class edu.wisc.library.ocfl.core.storage.filesystem.FileSystemOcflStorage
Permanently removes an object from the repository.
purgeObject(String) - Method in class edu.wisc.library.ocfl.core.storage.ObjectDetailsDbOcflStorage
Permanently removes an object from the repository.
purgeObject(String) - Method in interface edu.wisc.library.ocfl.core.storage.OcflStorage
Permanently removes an object from the repository.
purgeStagedChanges(String) - Method in class edu.wisc.library.ocfl.core.DefaultMutableOcflRepository
put(String, String) - Method in class edu.wisc.library.ocfl.core.model.PathBiMap
Adds a new fileId => path mapping
put(K, V) - Method in interface edu.wisc.library.ocfl.core.cache.Cache
Inserts a value into the cache.
put(K, V) - Method in class edu.wisc.library.ocfl.core.cache.CaffeineCache
Inserts a value into the cache.
put(K, V) - Method in class edu.wisc.library.ocfl.core.cache.NoOpCache
 
putObject(ObjectVersionId, Path, VersionInfo, OcflOption...) - Method in class edu.wisc.library.ocfl.core.DefaultOcflRepository
putVersion(VersionNum, Version) - Method in class edu.wisc.library.ocfl.core.model.InventoryBuilder
Inserts a version at the specified version number.

R

R1 - Static variable in class edu.wisc.library.ocfl.core.model.RevisionNum
 
read(String, String, InputStream) - Method in class edu.wisc.library.ocfl.core.inventory.InventoryMapper
 
read(String, String, Path) - Method in class edu.wisc.library.ocfl.core.inventory.InventoryMapper
 
readDigest(Path) - Static method in class edu.wisc.library.ocfl.core.inventory.SidecarMapper
 
readMutableHead(String, String, RevisionNum, InputStream) - Method in class edu.wisc.library.ocfl.core.inventory.InventoryMapper
 
readMutableHead(String, String, RevisionNum, Path) - Method in class edu.wisc.library.ocfl.core.inventory.InventoryMapper
 
reconstructObjectVersion(Inventory, VersionNum, Path) - Method in class edu.wisc.library.ocfl.core.storage.CachingOcflStorage
Reconstructs a complete object at the specified version in the stagingDir.
reconstructObjectVersion(Inventory, VersionNum, Path) - Method in class edu.wisc.library.ocfl.core.storage.cloud.CloudOcflStorage
Reconstructs a complete object at the specified version in the stagingDir.
reconstructObjectVersion(Inventory, VersionNum, Path) - Method in class edu.wisc.library.ocfl.core.storage.filesystem.FileSystemOcflStorage
Reconstructs a complete object at the specified version in the stagingDir.
reconstructObjectVersion(Inventory, VersionNum, Path) - Method in class edu.wisc.library.ocfl.core.storage.ObjectDetailsDbOcflStorage
Reconstructs a complete object at the specified version in the stagingDir.
reconstructObjectVersion(Inventory, VersionNum, Path) - Method in interface edu.wisc.library.ocfl.core.storage.OcflStorage
Reconstructs a complete object at the specified version in the stagingDir.
recursiveCopy(Path, Path, StandardCopyOption...) - Static method in class edu.wisc.library.ocfl.core.util.FileUtil
 
RegexPathConstraint - Class in edu.wisc.library.ocfl.core.path.constraint
Validates that a path or filename does or does not match a regex
RegexPathConstraint(boolean, Pattern) - Constructor for class edu.wisc.library.ocfl.core.path.constraint.RegexPathConstraint
 
register(String, Class<? extends OcflExtension>) - Static method in class edu.wisc.library.ocfl.core.extension.OcflExtensionRegistry
Registers a new extension implementation.
reinstateFile(VersionNum, String, String, OcflOption...) - Method in class edu.wisc.library.ocfl.core.DefaultOcflObjectUpdater
reinstateFile(VersionNum, String, String, OcflOption...) - Method in class edu.wisc.library.ocfl.core.inventory.InventoryUpdater
Reinstates a file from a previous version to the current version.
remove(String) - Static method in class edu.wisc.library.ocfl.core.extension.OcflExtensionRegistry
Removes an extension from the registry.
removeContentPath(String) - Method in class edu.wisc.library.ocfl.core.model.InventoryBuilder
Removes a file from the manifest and fixity bock by content path
removeContentPathFromFixity(String) - Method in class edu.wisc.library.ocfl.core.model.InventoryBuilder
Removes a file from the fixity block by content path
removeFile(String) - Method in class edu.wisc.library.ocfl.core.DefaultOcflObjectUpdater
removeFile(String) - Method in class edu.wisc.library.ocfl.core.inventory.InventoryUpdater
Removes a file from the current version.
removeFileId(String) - Method in class edu.wisc.library.ocfl.core.model.InventoryBuilder
Removes a file from the manifest and fixity block
removeFileId(String) - Method in class edu.wisc.library.ocfl.core.model.PathBiMap
Removes a fileId from the map.
removeFileId(String) - Method in class edu.wisc.library.ocfl.core.model.VersionBuilder
Removes a fileId from the state
removeLogicalPath(String) - Method in class edu.wisc.library.ocfl.core.model.VersionBuilder
Removes a logical path from the state
removePath(String) - Method in class edu.wisc.library.ocfl.core.model.PathBiMap
Removes the path from the map.
renameFile(String, String, OcflOption...) - Method in class edu.wisc.library.ocfl.core.DefaultOcflObjectUpdater
renameFile(String, String, OcflOption...) - Method in class edu.wisc.library.ocfl.core.inventory.InventoryUpdater
Renames a file in the current version to a new logical path.
replicateVersionAsHead(ObjectVersionId, VersionInfo) - Method in class edu.wisc.library.ocfl.core.DefaultOcflRepository
repositoryRoot(Path) - Method in class edu.wisc.library.ocfl.core.storage.filesystem.FileSystemOcflStorageBuilder
Sets the path to the OCFL repository root directory.
requireInventory(ObjectVersionId) - Method in class edu.wisc.library.ocfl.core.DefaultOcflRepository
 
resolveContentDir(Inventory, Path) - Method in class edu.wisc.library.ocfl.core.DefaultOcflRepository
 
resolveContentDirectory() - Method in class edu.wisc.library.ocfl.core.model.Inventory
The name of the directory within a version directory that contains the object content.
responseMapper - Variable in class edu.wisc.library.ocfl.core.DefaultOcflRepository
 
ResponseMapper - Class in edu.wisc.library.ocfl.core.util
Used to map Inventory objects to API response objects
ResponseMapper() - Constructor for class edu.wisc.library.ocfl.core.util.ResponseMapper
 
retrieveFile() - Method in class edu.wisc.library.ocfl.core.storage.cloud.CloudOcflFileRetriever
retrieveFile() - Method in class edu.wisc.library.ocfl.core.storage.filesystem.FileSystemOcflFileRetriever
retrieveObjectDetails(String) - Method in class edu.wisc.library.ocfl.core.db.BaseObjectDetailsDatabase
Retrieves ObjectDetails from the database.
retrieveObjectDetails(String) - Method in interface edu.wisc.library.ocfl.core.db.ObjectDetailsDatabase
Retrieves ObjectDetails from the database.
revisionNum(RevisionNum) - Method in class edu.wisc.library.ocfl.core.model.InventoryBuilder
 
RevisionNum - Class in edu.wisc.library.ocfl.core.model
Represents the revision number of a mutable HEAD in the form of rN.
RevisionNum(long) - Constructor for class edu.wisc.library.ocfl.core.model.RevisionNum
 
revisionPath(RevisionNum) - Method in class edu.wisc.library.ocfl.core.ObjectPaths.ContentRoot
 
rollbackToVersion(ObjectVersionId) - Method in class edu.wisc.library.ocfl.core.DefaultOcflRepository
rollbackToVersion(Inventory, VersionNum) - Method in class edu.wisc.library.ocfl.core.storage.CachingOcflStorage
Sets the head object version to the specified version by reinstating that version's inventory into the object root, and purging all intermediary versions.
rollbackToVersion(Inventory, VersionNum) - Method in class edu.wisc.library.ocfl.core.storage.cloud.CloudOcflStorage
Sets the head object version to the specified version by reinstating that version's inventory into the object root, and purging all intermediary versions.
rollbackToVersion(Inventory, VersionNum) - Method in class edu.wisc.library.ocfl.core.storage.filesystem.FileSystemOcflStorage
Sets the head object version to the specified version by reinstating that version's inventory into the object root, and purging all intermediary versions.
rollbackToVersion(Inventory, VersionNum) - Method in class edu.wisc.library.ocfl.core.storage.ObjectDetailsDbOcflStorage
Sets the head object version to the specified version by reinstating that version's inventory into the object root, and purging all intermediary versions.
rollbackToVersion(Inventory, VersionNum) - Method in interface edu.wisc.library.ocfl.core.storage.OcflStorage
Sets the head object version to the specified version by reinstating that version's inventory into the object root, and purging all intermediary versions.

S

safeDeleteDirectory(Path) - Static method in class edu.wisc.library.ocfl.core.util.FileUtil
Deletes the path and all of its children.
safeDeleteObjects(String...) - Method in interface edu.wisc.library.ocfl.core.storage.cloud.CloudClient
Deletes all of the objects and does not throw an exception on failure
safeDeleteObjects(Collection<String>) - Method in interface edu.wisc.library.ocfl.core.storage.cloud.CloudClient
Deletes all of the objects and does not throw an exception on failure
setClock(Clock) - Method in class edu.wisc.library.ocfl.core.DefaultOcflRepository
This is used to manipulate the clock for testing purposes.
setContentEncoding(String) - Method in class edu.wisc.library.ocfl.core.storage.cloud.HeadResult
 
setContentLength(Long) - Method in class edu.wisc.library.ocfl.core.storage.cloud.HeadResult
 
setDescription(String) - Method in class edu.wisc.library.ocfl.core.extension.storage.layout.OcflLayout
Sets the human-readable description of the layout
setDigestAlgorithm(DigestAlgorithm) - Method in class edu.wisc.library.ocfl.core.db.OcflObjectDetails
 
setDigestAlgorithm(DigestAlgorithm) - Method in class edu.wisc.library.ocfl.core.extension.storage.layout.config.HashedNTupleIdEncapsulationLayoutConfig
The digest algorithm to apply on the OCFL object identifier; MUST be an algorithm that is allowed in the OCFL fixity block
setDigestAlgorithm(DigestAlgorithm) - Method in class edu.wisc.library.ocfl.core.extension.storage.layout.config.HashedNTupleLayoutConfig
The digest algorithm to apply on the OCFL object identifier; MUST be an algorithm that is allowed in the OCFL fixity block
setDirectories(List<ListResult.DirectoryListing>) - Method in class edu.wisc.library.ocfl.core.storage.cloud.ListResult
 
setETag(String) - Method in class edu.wisc.library.ocfl.core.storage.cloud.HeadResult
 
setExtension(String) - Method in class edu.wisc.library.ocfl.core.extension.storage.layout.OcflLayout
Sets the storage layout extension key
setExtensionName(String) - Method in class edu.wisc.library.ocfl.core.extension.storage.layout.config.HashedNTupleIdEncapsulationLayoutConfig
 
setExtensionName(String) - Method in class edu.wisc.library.ocfl.core.extension.storage.layout.config.HashedNTupleLayoutConfig
 
setInventory(byte[]) - Method in class edu.wisc.library.ocfl.core.db.OcflObjectDetails
 
setInventoryDigest(String) - Method in class edu.wisc.library.ocfl.core.db.OcflObjectDetails
 
setKey(CloudObjectKey) - Method in class edu.wisc.library.ocfl.core.storage.cloud.ListResult.ObjectListing
 
setKeySuffix(String) - Method in class edu.wisc.library.ocfl.core.storage.cloud.ListResult.ObjectListing
 
setLastModified(Instant) - Method in class edu.wisc.library.ocfl.core.storage.cloud.HeadResult
 
setLockWaitTimeout(Connection, long) - Method in class edu.wisc.library.ocfl.core.db.BaseObjectDetailsDatabase
Sets the amount of time to wait for a row lock before timing out.
setLockWaitTimeout(Connection, long) - Method in class edu.wisc.library.ocfl.core.db.H2ObjectDetailsDatabase
 
setLockWaitTimeout(Connection, long) - Method in class edu.wisc.library.ocfl.core.db.PostgresObjectDetailsDatabase
 
setNumberOfTuples(int) - Method in class edu.wisc.library.ocfl.core.extension.storage.layout.config.HashedNTupleIdEncapsulationLayoutConfig
Indicates how many segments are used for path generation
setNumberOfTuples(int) - Method in class edu.wisc.library.ocfl.core.extension.storage.layout.config.HashedNTupleLayoutConfig
Indicates how many segments are used for path generation
setObjectId(String) - Method in class edu.wisc.library.ocfl.core.db.OcflObjectDetails
 
setObjectRootPath(String) - Method in class edu.wisc.library.ocfl.core.db.OcflObjectDetails
 
setObjects(List<ListResult.ObjectListing>) - Method in class edu.wisc.library.ocfl.core.storage.cloud.ListResult
 
setPath(String) - Method in class edu.wisc.library.ocfl.core.storage.cloud.ListResult.DirectoryListing
 
setRevisionNum(RevisionNum) - Method in class edu.wisc.library.ocfl.core.db.OcflObjectDetails
 
setShortObjectRoot(boolean) - Method in class edu.wisc.library.ocfl.core.extension.storage.layout.config.HashedNTupleLayoutConfig
When true, indicates that the OCFL object root directory name should contain the remainder of the digest not used in the n-tuples segments
setTupleSize(int) - Method in class edu.wisc.library.ocfl.core.extension.storage.layout.config.HashedNTupleIdEncapsulationLayoutConfig
Indicates the size of the segments (in characters) that the digest is split into
setTupleSize(int) - Method in class edu.wisc.library.ocfl.core.extension.storage.layout.config.HashedNTupleLayoutConfig
Indicates the size of the segments (in characters) that the digest is split into
setUpdateTimestamp(LocalDateTime) - Method in class edu.wisc.library.ocfl.core.db.OcflObjectDetails
 
setVersionNum(VersionNum) - Method in class edu.wisc.library.ocfl.core.db.OcflObjectDetails
 
SidecarMapper - Class in edu.wisc.library.ocfl.core.inventory
 
size(Path) - Static method in class edu.wisc.library.ocfl.core.util.UncheckedFiles
 
stageChanges(ObjectVersionId, VersionInfo, Consumer<OcflObjectUpdater>) - Method in class edu.wisc.library.ocfl.core.DefaultMutableOcflRepository
state(PathBiMap) - Method in class edu.wisc.library.ocfl.core.model.VersionBuilder
 
state(Map<String, Set<String>>) - Method in class edu.wisc.library.ocfl.core.model.VersionBuilder
 
storage - Variable in class edu.wisc.library.ocfl.core.DefaultOcflRepository
 
storage(OcflStorage) - Method in class edu.wisc.library.ocfl.core.OcflRepositoryBuilder
The storage layer the repository should use.
storagePath(String) - Method in class edu.wisc.library.ocfl.core.model.Inventory
Returns the path from the storage root to a file within an object.
storagePathConstraintProcessor(PathConstraintProcessor) - Method in class edu.wisc.library.ocfl.core.path.constraint.DefaultContentPathConstraintProcessor.Builder
Sets the PathConstraintProcessor to apply to storage paths.
storeInventory(boolean) - Method in class edu.wisc.library.ocfl.core.db.ObjectDetailsDatabaseBuilder
If serialized inventories should be stored in the database.
storeNewVersion(Inventory, Path) - Method in class edu.wisc.library.ocfl.core.storage.CachingOcflStorage
Stores a new version of an object and writes the inventory to the cache.
storeNewVersion(Inventory, Path) - Method in class edu.wisc.library.ocfl.core.storage.cloud.CloudOcflStorage
Persists a fully composed object version.
storeNewVersion(Inventory, Path) - Method in class edu.wisc.library.ocfl.core.storage.filesystem.FileSystemOcflStorage
Persists a fully composed object version.
storeNewVersion(Inventory, Path) - Method in class edu.wisc.library.ocfl.core.storage.ObjectDetailsDbOcflStorage
Writes the new object version to the underlying storage within a transaction that updates the object details state within the database.
storeNewVersion(Inventory, Path) - Method in interface edu.wisc.library.ocfl.core.storage.OcflStorage
Persists a fully composed object version.
stubInventory(String, OcflConfig, String) - Static method in class edu.wisc.library.ocfl.core.model.Inventory
Creates a stub inventory that is useful when creating new objects.

T

TableCreator - Class in edu.wisc.library.ocfl.core.db
Creates database tables if they don't exist.
TableCreator(DbType, DataSource) - Constructor for class edu.wisc.library.ocfl.core.db.TableCreator
 
tableName(String) - Method in class edu.wisc.library.ocfl.core.db.ObjectDetailsDatabaseBuilder
Sets the name of the table to use to store object details.
tableName(String) - Method in class edu.wisc.library.ocfl.core.lock.ObjectLockBuilder
Sets the name of the table to use for object locking.
toContentPathPart(String) - Method in class edu.wisc.library.ocfl.core.path.mapper.DirectLogicalPathMapper
Maps a logical path to a content path.
toContentPathPart(String) - Method in interface edu.wisc.library.ocfl.core.path.mapper.LogicalPathMapper
Maps a logical path to a content path.
toContentPathPart(String) - Method in class edu.wisc.library.ocfl.core.path.mapper.PercentEncodingLogicalPathMapper
 
toCopyOptions(OcflOption...) - Static method in class edu.wisc.library.ocfl.core.util.FileUtil
 
toString() - Method in class edu.wisc.library.ocfl.core.db.OcflObjectDetails
 
toString() - Method in class edu.wisc.library.ocfl.core.extension.storage.layout.config.FlatLayoutConfig
 
toString() - Method in class edu.wisc.library.ocfl.core.extension.storage.layout.config.HashedNTupleIdEncapsulationLayoutConfig
 
toString() - Method in class edu.wisc.library.ocfl.core.extension.storage.layout.config.HashedNTupleLayoutConfig
 
toString() - Method in class edu.wisc.library.ocfl.core.extension.storage.layout.OcflLayout
 
toString() - Method in class edu.wisc.library.ocfl.core.model.Inventory
 
toString() - Method in class edu.wisc.library.ocfl.core.model.PathBiMap
 
toString() - Method in class edu.wisc.library.ocfl.core.model.RevisionNum
 
toString() - Method in class edu.wisc.library.ocfl.core.model.User
 
toString() - Method in class edu.wisc.library.ocfl.core.model.Version
 
toString() - Method in enum edu.wisc.library.ocfl.core.path.constraint.PathLengthConstraint.Type
 
toString() - Method in class edu.wisc.library.ocfl.core.storage.cloud.CloudObjectKey
 
toString() - Method in class edu.wisc.library.ocfl.core.storage.cloud.HeadResult
 
toString() - Method in class edu.wisc.library.ocfl.core.storage.cloud.ListResult.DirectoryListing
 
toString() - Method in class edu.wisc.library.ocfl.core.storage.cloud.ListResult.ObjectListing
 
toString() - Method in class edu.wisc.library.ocfl.core.storage.cloud.ListResult
 
type(InventoryType) - Method in class edu.wisc.library.ocfl.core.model.InventoryBuilder
 

U

UncheckedFiles - Class in edu.wisc.library.ocfl.core.util
This class is just a wrapper around Files that converts IOExceptions into OcflIOExceptions.
unix() - Static method in class edu.wisc.library.ocfl.core.path.constraint.ContentPathConstraints
Constructs a ContentPathConstraintProcessor that applies the minimum path constraints on a unix based filesystem.
updateObject(ObjectVersionId, VersionInfo, Consumer<OcflObjectUpdater>) - Method in class edu.wisc.library.ocfl.core.DefaultOcflRepository
updateObjectDetails(Inventory, String, Path, Runnable) - Method in class edu.wisc.library.ocfl.core.db.BaseObjectDetailsDatabase
Updates existing ObjectDetails in the database.
updateObjectDetails(Inventory, String, Path, Runnable) - Method in interface edu.wisc.library.ocfl.core.db.ObjectDetailsDatabase
Updates existing ObjectDetails in the database.
uploadBytes(String, byte[], String) - Method in interface edu.wisc.library.ocfl.core.storage.cloud.CloudClient
Uploads an object with byte content
uploadFile(Path, String) - Method in interface edu.wisc.library.ocfl.core.storage.cloud.CloudClient
Uploads a file to the destination, and returns the object key.
uploadFile(Path, String, String) - Method in interface edu.wisc.library.ocfl.core.storage.cloud.CloudClient
Uploads a file to the destination, and returns the object key.
user(User) - Method in class edu.wisc.library.ocfl.core.model.VersionBuilder
 
User - Class in edu.wisc.library.ocfl.core.model
OCFL user object.
User(String, String) - Constructor for class edu.wisc.library.ocfl.core.model.User
 
useUppercase(boolean) - Method in class edu.wisc.library.ocfl.core.util.PercentEscaper.Builder
 

V

validateCompatibleInventories(Inventory, Inventory) - Static method in class edu.wisc.library.ocfl.core.validation.InventoryValidator
Validates that the currentInventory is a valid next inventory state from the previousInventory.
validateDeep(Inventory) - Static method in class edu.wisc.library.ocfl.core.validation.InventoryValidator
Validates the entire Inventory.
validateNonConflictingPath(String) - Method in class edu.wisc.library.ocfl.core.model.VersionBuilder
Validates that the logical path does not conflict with any existing logical paths in this version.
validateObject(Path, Inventory) - Method in class edu.wisc.library.ocfl.core.validation.ObjectValidator
Validates the structure, files, and inventories of an object and all of its versions.
validateShallow(Inventory) - Static method in class edu.wisc.library.ocfl.core.validation.InventoryValidator
Validates that an Inventory meets the minimum requirements to be serialized as valid OCFL inventory.
validateVersion(Path, Inventory) - Method in class edu.wisc.library.ocfl.core.validation.ObjectValidator
Validates the contents of a version directory.
validateVersionStates(Inventory, Inventory) - Static method in class edu.wisc.library.ocfl.core.validation.InventoryValidator
Validates that the two inventories contain the same version states, excluding the version in the current that is not in the previous.
valueOf(String) - Static method in enum edu.wisc.library.ocfl.core.db.DbType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum edu.wisc.library.ocfl.core.path.constraint.PathLengthConstraint.Type
Returns the enum constant of this type with the specified name.
values() - Static method in enum edu.wisc.library.ocfl.core.db.DbType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum edu.wisc.library.ocfl.core.path.constraint.PathLengthConstraint.Type
Returns an array containing the constants of this enum type, in the order they are declared.
version(VersionNum) - Method in class edu.wisc.library.ocfl.core.ObjectPaths.ObjectRoot
 
version(Inventory, Path) - Static method in class edu.wisc.library.ocfl.core.ObjectPaths
Creates a VersionRoot object.
Version - Class in edu.wisc.library.ocfl.core.model
OCFL version object.
Version(OffsetDateTime, String, User, Map<String, Set<String>>) - Constructor for class edu.wisc.library.ocfl.core.model.Version
 
VersionBuilder - Class in edu.wisc.library.ocfl.core.model
Used to construct Version objects.
VersionBuilder() - Constructor for class edu.wisc.library.ocfl.core.model.VersionBuilder
 
VersionBuilder(Version) - Constructor for class edu.wisc.library.ocfl.core.model.VersionBuilder
Used to construct a new Version that's based on an existing version.
versionInfo(VersionInfo) - Method in class edu.wisc.library.ocfl.core.model.VersionBuilder
 
versionPath(VersionNum) - Method in class edu.wisc.library.ocfl.core.ObjectPaths.ObjectRoot
 
versions(Map<VersionNum, Version>) - Method in class edu.wisc.library.ocfl.core.model.InventoryBuilder
 

W

waitTime(long, TimeUnit) - Method in class edu.wisc.library.ocfl.core.db.ObjectDetailsDatabaseBuilder
Used to override the amount of time the client will wait to obtain a lock.
waitTime(long, TimeUnit) - Method in class edu.wisc.library.ocfl.core.lock.ObjectLockBuilder
Used to override the amount of time the client will wait to obtain an object lock.
windows() - Static method in class edu.wisc.library.ocfl.core.path.constraint.ContentPathConstraints
Constructs a ContentPathConstraintProcessor that applies the minimum path constraints on a Windows based filesystem.
withContentDirectory(String) - Method in class edu.wisc.library.ocfl.core.model.Inventory.JacksonBuilder
 
withCurrentDigest(String) - Method in class edu.wisc.library.ocfl.core.model.Inventory.JacksonBuilder
 
withDigestAlgorithm(DigestAlgorithm) - Method in class edu.wisc.library.ocfl.core.model.Inventory.JacksonBuilder
 
withFixity(Map<DigestAlgorithm, Map<String, Set<String>>>) - Method in class edu.wisc.library.ocfl.core.model.Inventory.JacksonBuilder
 
withHead(VersionNum) - Method in class edu.wisc.library.ocfl.core.model.Inventory.JacksonBuilder
 
withId(String) - Method in class edu.wisc.library.ocfl.core.model.Inventory.JacksonBuilder
 
withManifest(Map<String, Set<String>>) - Method in class edu.wisc.library.ocfl.core.model.Inventory.JacksonBuilder
 
withMutableHead(boolean) - Method in class edu.wisc.library.ocfl.core.model.Inventory.JacksonBuilder
 
withObjectRootPath(String) - Method in class edu.wisc.library.ocfl.core.model.Inventory.JacksonBuilder
 
withRevisionNum(RevisionNum) - Method in class edu.wisc.library.ocfl.core.model.Inventory.JacksonBuilder
 
withType(InventoryType) - Method in class edu.wisc.library.ocfl.core.model.Inventory.JacksonBuilder
 
withVersions(Map<VersionNum, Version>) - Method in class edu.wisc.library.ocfl.core.model.Inventory.JacksonBuilder
 
workDir - Variable in class edu.wisc.library.ocfl.core.DefaultOcflRepository
 
workDir(Path) - Method in class edu.wisc.library.ocfl.core.OcflRepositoryBuilder
The temporary workspace the repository uses to assemble object versions.
write(OutputStream, Inventory) - Method in class edu.wisc.library.ocfl.core.inventory.InventoryMapper
 
write(Path, Inventory) - Method in class edu.wisc.library.ocfl.core.inventory.InventoryMapper
 
writeFile(InputStream, String, OcflOption...) - Method in class edu.wisc.library.ocfl.core.DefaultOcflObjectUpdater
writeFile(Path) - Method in class edu.wisc.library.ocfl.core.util.NamasteTypeFile
 
writeInventory(Inventory, Path) - Method in class edu.wisc.library.ocfl.core.DefaultOcflRepository
 
writeNewVersion(Inventory, Path) - Method in class edu.wisc.library.ocfl.core.DefaultOcflRepository
 
writeSidecar(Inventory, String, Path) - Static method in class edu.wisc.library.ocfl.core.inventory.SidecarMapper
 
A B C D E F G H I J K L M N O P R S T U V W 
All Classes All Packages