Class UploadBean.PathFinder

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

public class UploadBean.PathFinder extends 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 Details

    • getResolvedRemoteDirectory

      public String getResolvedRemoteDirectory()
    • getResolvedAlbumURL

      public String getResolvedAlbumURL()
      Returns:
      null if not under web root
    • albumExists

      public boolean albumExists() throws IOException, info.cqs.remotefs.RemoteFSException
      Throws:
      IOException
      info.cqs.remotefs.RemoteFSException
    • verifyWebAccess

      public int verifyWebAccess() throws UnsupportedEncodingException, IOException, info.cqs.remotefs.RemoteFSException
      Check that one can reach the web root via a web browser
      Returns:
      Throws:
      UnsupportedEncodingException
      IOException
      info.cqs.remotefs.RemoteFSException