summaryrefslogtreecommitdiffstats
path: root/vespaclient-java/src/main/java/com/yahoo/vespafeeder/FileRequest.java
blob: 3479221257d3afb806b06c3648d576f07ae5d0c6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Copyright 2017 Yahoo Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.vespafeeder;

import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;

public class FileRequest extends InputStreamRequest {

    FileRequest(File f) throws FileNotFoundException {
        super(new FileInputStream(f));
    }

}