se.datadosen.jalbum
Class UploadBean.PathFinder

java.lang.Object
  extended by se.datadosen.jalbum.UploadBean.PathFinder
Enclosing class:
UploadBean

public class UploadBean.PathFinder
extends java.lang.Object

Utility class that helps resolving (figuring out) paths and URLs to published albums

Since:
8.4 Todo: Use this logic instead of corresponding logic from JPublishWizard

Method Summary
 boolean albumExists()
           
 java.lang.String getResolvedAlbumURL()
           
 java.lang.String getResolvedRemoteDirectory()
           
 java.lang.String getResolvedWebRootDirectory()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getResolvedWebRootDirectory

public java.lang.String getResolvedWebRootDirectory()

getResolvedRemoteDirectory

public java.lang.String getResolvedRemoteDirectory()

getResolvedAlbumURL

public java.lang.String getResolvedAlbumURL()
Returns:
null if not under web root

albumExists

public boolean albumExists()
                    throws java.io.IOException,
                           RemoteFSException
Throws:
java.io.IOException
RemoteFSException