Welcome to mirror list, hosted at ThFree Co, Russian Federation.

AttachmentUtil.java « util « deck « nextcloud « niedermann « it « java « main « src « app - github.com/stefan-niedermann/nextcloud-deck.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: d123ee4c6d3a05567c1edcbdd0db774b11f4edae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
package it.niedermann.nextcloud.deck.util;

/**
 * Created by stefan on 07.03.20.
 */

public class AttachmentUtil {

    private AttachmentUtil() {
    }

    public static String getUrl(String accountUrl, long cardRemoteId, long attachmentRemoteId) {
        return accountUrl + "/index.php/apps/deck/cards/" + cardRemoteId + "/attachment/" + attachmentRemoteId;
    }
}