Class HierarchicalContentFileSystemHelper
- java.lang.Object
- 
- com.atlassian.confluence.pages.persistence.dao.filesystem.HierarchicalContentFileSystemHelper
 
- 
 public class HierarchicalContentFileSystemHelper extends Object Provides utilties for creating hierarchical directory structures for storing Confluence content-related files.- Since:
- 5.5
 
- 
- 
Constructor SummaryConstructors Constructor Description HierarchicalContentFileSystemHelper()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description FilecreateDirectoryHierarchy(File parentDir, long contentId)Deprecated.since 7.14 usegetDirectory(File, long)com.atlassian.dc.filestore.api.compat.FilesystemPathgetDirectory(com.atlassian.dc.filestore.api.compat.FilesystemPath parentDir, long contentId)Get the directory corresponding to the given content ID.FilegetDirectory(File parentDir, long contentId)Get the directory corresponding to the given content ID.
 
- 
- 
- 
Method Detail- 
createDirectoryHierarchy@Deprecated public File createDirectoryHierarchy(File parentDir, long contentId) Deprecated.since 7.14 usegetDirectory(File, long)Get the directory corresponding to the given content ID, creating the directory hierarchy as required.
 - 
getDirectorypublic File getDirectory(File parentDir, long contentId) Get the directory corresponding to the given content ID. The directory may or may not exist already.
 - 
getDirectorypublic com.atlassian.dc.filestore.api.compat.FilesystemPath getDirectory(com.atlassian.dc.filestore.api.compat.FilesystemPath parentDir, long contentId)Get the directory corresponding to the given content ID. The directory may or may not exist already.
 
- 
 
-