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

}