OcflObjectUpdater |
OcflObjectUpdater.addPath(Path sourcePath,
OcflOption... options) |
Adds a file or directory to the object.
|
OcflObjectUpdater |
OcflObjectUpdater.addPath(Path sourcePath,
String destinationPath,
OcflOption... options) |
Adds a file or directory to the object at the specified destinationPath.
|
static boolean |
OcflOption.contains(OcflOption test,
OcflOption... options) |
Returns true if the set of options contains the specified option
|
void |
OcflRepository.exportObject(String objectId,
Path outputPath,
OcflOption... options) |
Copies a raw OCFL object to the specified directory.
|
void |
OcflRepository.exportVersion(ObjectVersionId objectVersionId,
Path outputPath,
OcflOption... options) |
Copies a raw OCFL object version to the specified directory.
|
void |
OcflRepository.importObject(Path objectPath,
OcflOption... options) |
Imports an entire OCFL object into the repository.
|
void |
OcflRepository.importVersion(Path versionPath,
OcflOption... options) |
Imports the OCFL object version at the specified path into the repository.
|
ObjectVersionId |
OcflRepository.putObject(ObjectVersionId objectVersionId,
Path path,
VersionInfo versionInfo,
OcflOption... options) |
Adds the object rooted at the given path to the OCFL repository under the given objectVersionId.
|
OcflObjectUpdater |
OcflObjectUpdater.reinstateFile(VersionNum sourceVersionNum,
String sourcePath,
String destinationPath,
OcflOption... options) |
Reinstates a file that existed in any version of the object into the current version.
|
OcflObjectUpdater |
OcflObjectUpdater.renameFile(String sourcePath,
String destinationPath,
OcflOption... options) |
Renames an existing file within the object.
|
static Set<OcflOption> |
OcflOption.toSet(OcflOption... options) |
Transforms a varargs of options into a set
|
OcflObjectUpdater |
OcflObjectUpdater.unsafeAddPath(String digest,
Path sourcePath,
String destinationPath,
OcflOption... options) |
Adds a file to the object at the specified destinationPath.
|
OcflObjectUpdater |
OcflObjectUpdater.writeFile(InputStream input,
String destinationPath,
OcflOption... options) |
Writes the contents of the InputStream to the object at the specified destinationPath.
|