blob: d54368d3970760bcf12e61ea0803460e5e614fbd (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
// Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.vespa.config.server.filedistribution;
import com.yahoo.config.FileReference;
import com.yahoo.path.Path;
import java.io.IOException;
import java.nio.ByteBuffer;
/**
* @author baldersheim
*/
public interface AddFileInterface {
FileReference addUri(String uri, Path path);
FileReference addFile(Path path) throws IOException;
FileReference addBlob(ByteBuffer blob, Path path);
}
|