Interface PathAwareFeatureExtension

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      boolean createPath​(java.lang.String path)
      Creates the given sub path / folder on the remote storage.
      java.util.Map<java.lang.String,​FileType> listFolder​(java.lang.String path)
      Lists the contents of the given sub path / folder on the remote storage.
      boolean removeFolder​(java.lang.String path)
      Deleted the given sub path / folder on the remote storage.
    • Method Detail

      • createPath

        boolean createPath​(java.lang.String path)
                    throws StorageException
        Creates the given sub path / folder on the remote storage.
        Parameters:
        path - Path/folder to be created
        Returns:
        True if successful, false otherwise
        Throws:
        StorageException
      • removeFolder

        boolean removeFolder​(java.lang.String path)
                      throws StorageException
        Deleted the given sub path / folder on the remote storage.
        Parameters:
        path - Path/folder to be deleted
        Returns:
        True if successful, false otherwise
        Throws:
        StorageException
      • listFolder

        java.util.Map<java.lang.String,​FileTypelistFolder​(java.lang.String path)
                                                           throws StorageException
        Lists the contents of the given sub path / folder on the remote storage.
        Parameters:
        path - Path/folder to be listed
        Returns:
        Filename/type list for the given subfolder
        Throws:
        StorageException