com.atlassian.confluence.pages.persistence.dao.filesystem
Class HierarchicalContentFileSystemHelper

java.lang.Object
  extended by com.atlassian.confluence.pages.persistence.dao.filesystem.HierarchicalContentFileSystemHelper

public class HierarchicalContentFileSystemHelper
extends java.lang.Object

Provides utilties for creating hierarchical directory structures for storing Confluence content-related files. See FileSystemAttachmentDataDao See DefaultThumbnailManager

Since:
5.5

Constructor Summary
HierarchicalContentFileSystemHelper()
           
 
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
 

Constructor Detail

HierarchicalContentFileSystemHelper

public HierarchicalContentFileSystemHelper()
Method Detail

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-2014 Atlassian. All Rights Reserved.