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

import com.yahoo.feedhandler.InputStreamRequest;

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));
    }

}