com.atlassian.confluence.pages.persistence.dao
Class HierarchicalContentFileSystemHelper
java.lang.Object
com.atlassian.confluence.pages.persistence.dao.HierarchicalContentFileSystemHelper
public class HierarchicalContentFileSystemHelper
- extends java.lang.Object
Provides utilties for creating hierarchical directory structures for storing Confluence content-related files.
See HierarchicalFileSystemAttachmentDataDao
See DefaultThumbnailManager
- Since:
- 5.4
Method Summary |
java.io.File |
createDirectoryHierarchy(java.io.File parentDir,
long contentId)
Get the directory corresponding to the given content ID, creating the directory hierarchy as required. |
java.io.File |
getDirectory(java.io.File parentDir,
long contentId)
Get the directory corresponding to the given content ID. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HierarchicalContentFileSystemHelper
public HierarchicalContentFileSystemHelper()
createDirectoryHierarchy
public java.io.File createDirectoryHierarchy(java.io.File parentDir,
long contentId)
- Get the directory corresponding to the given content ID, creating the directory hierarchy as required.
getDirectory
public java.io.File getDirectory(java.io.File parentDir,
long contentId)
- Get the directory corresponding to the given content ID. The directory may or may not exist already.
Copyright © 2003-2013 Atlassian. All Rights Reserved.