Class FileStoreHomePathPlaceholderResolver
- java.lang.Object
-
- com.atlassian.confluence.impl.filestore.FileStoreHomePathPlaceholderResolver
-
- All Implemented Interfaces:
HomePathPlaceholderResolver
public final class FileStoreHomePathPlaceholderResolver extends Object implements HomePathPlaceholderResolver
Provides a mechanism to substitute placeholders representing the various Confluence home directories. Performs the same job asSafeGeneralUtil.replaceConfluenceConstants(String, File, File)
, but returns the results as aFilesystemPath
.- Since:
- 7.14
- See Also:
SafeGeneralUtil.replaceConfluenceConstants(String, File, File)
-
-
Constructor Summary
Constructors Constructor Description FileStoreHomePathPlaceholderResolver(com.atlassian.dc.filestore.api.compat.FilesystemPath localHome, com.atlassian.dc.filestore.api.compat.FilesystemPath confluenceHome)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Optional<com.atlassian.dc.filestore.api.compat.FilesystemPath>
resolveFileStorePlaceHolders(String directoryLocation)
Attempt to replace any directory placeholder prefixes in the given location, resolving them against the coresponding base directory.
-
-
-
Method Detail
-
resolveFileStorePlaceHolders
public Optional<com.atlassian.dc.filestore.api.compat.FilesystemPath> resolveFileStorePlaceHolders(String directoryLocation)
Attempt to replace any directory placeholder prefixes in the given location, resolving them against the coresponding base directory.- Specified by:
resolveFileStorePlaceHolders
in interfaceHomePathPlaceholderResolver
-
-