File: InFile.java

package info (click to toggle)
proalign 0.603-2
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 480 kB
  • ctags: 847
  • sloc: java: 8,673; sh: 15; makefile: 9
file content (16 lines) | stat: -rw-r--r-- 452 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
package proalign;

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

public class InFile extends DataInputStream {
    public InFile(String filename) throws FileNotFoundException {
	super(new BufferedInputStream(new FileInputStream(filename)));
    }
    public InFile(File file) throws FileNotFoundException {
	this(file.getPath());
    }
}