Package se.datadosen.jalbum
Class UploadBean.PathFinder
java.lang.Object
se.datadosen.jalbum.UploadBean.PathFinder
- Enclosing class:
UploadBean
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
Modifier and TypeMethodDescriptionboolean
int
Check that one can reach the web root via a web browser
-
Method Details
-
getResolvedRemoteDirectory
-
getResolvedAlbumURL
- Returns:
- null if not under web root
-
albumExists
- Throws:
IOException
info.cqs.remotefs.RemoteFSException
-
verifyWebAccess
public int verifyWebAccess() throws UnsupportedEncodingException, IOException, info.cqs.remotefs.RemoteFSExceptionCheck that one can reach the web root via a web browser- Returns:
- Throws:
UnsupportedEncodingException
IOException
info.cqs.remotefs.RemoteFSException
-