summaryrefslogtreecommitdiffstats
path: root/vespaclient-java/src/main/java/com/yahoo/vespafeeder/FileRequest.java
blob: c43350cafe8ab897a9cd1b34fe710532c2563ccb (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Copyright 2017 Yahoo Holdings. 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));
    }

}