2 * Copyright (c) 2013 Cisco Systems, Inc. and others. All rights reserved.
4 * This program and the accompanying materials are made available under the
5 * terms of the Eclipse Public License v1.0 which accompanies this distribution,
6 * and is available at http://www.eclipse.org/legal/epl-v10.html
8 package org.opendaylight.yangtools.yang.parser.util;
11 import java.io.FileInputStream;
12 import java.io.FileNotFoundException;
14 public class NamedFileInputStream extends FileInputStream {
15 private final String fileDestination;
17 public NamedFileInputStream(File file, String fileDestination) throws FileNotFoundException {
19 this.fileDestination = fileDestination;
22 public String getFileDestination() {
23 return fileDestination;