Class FlatOmitPrefixLayoutConfig
- java.lang.Object
-
- edu.wisc.library.ocfl.core.extension.storage.layout.config.FlatOmitPrefixLayoutConfig
-
- All Implemented Interfaces:
OcflExtensionConfig
public class FlatOmitPrefixLayoutConfig extends Object implements OcflExtensionConfig
Configuration for the Flat Omit Prefix Storage Layout extension.- Since:
- 2021-06-22
- Author:
- awoods
-
-
Constructor Summary
Constructors Constructor Description FlatOmitPrefixLayoutConfig()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)StringgetDelimiter()StringgetExtensionName()Returns the name of the extension the config is for.inthashCode()booleanhasParameters()Indicates if the extension defines parameters.FlatOmitPrefixLayoutConfigsetDelimiter(String delimiter)The case-insensitive, delimiter marking the end of the OCFL object identifier prefix; MUST consist of a character string of length one or greater.StringtoString()
-
-
-
Method Detail
-
getExtensionName
public String getExtensionName()
Description copied from interface:OcflExtensionConfigReturns the name of the extension the config is for.- Specified by:
getExtensionNamein interfaceOcflExtensionConfig- Returns:
- extension name
-
hasParameters
public boolean hasParameters()
Description copied from interface:OcflExtensionConfigIndicates if the extension defines parameters.- Specified by:
hasParametersin interfaceOcflExtensionConfig- Returns:
- true if the extension defines parameters; false otherwise
-
getDelimiter
public String getDelimiter()
- Returns:
- the delimiter marking end of prefix
-
setDelimiter
public FlatOmitPrefixLayoutConfig setDelimiter(String delimiter)
The case-insensitive, delimiter marking the end of the OCFL object identifier prefix; MUST consist of a character string of length one or greater. If the delimiter is found multiple times in the OCFL object identifier, its last occurence (right-most) will be used to select the termination of the prefix.- Parameters:
delimiter- marking the end of prefix
-
-