public final class PedFileReader extends Object
Constructor and Description |
---|
PedFileReader(File file)
Initialize object with the given file.
|
Modifier and Type | Method and Description |
---|---|
PedFileContents |
read()
Read in the pedigree file in
file . |
static PedFileContents |
read(InputStream stream)
Static method for parsing a PED file into a
PedFileContents object. |
public PedFileReader(File file)
public PedFileContents read() throws IOException, PedParseException
file
.IOException
- in the case of problems with reading from file
PedParseException
- in the case of problems with parsing the data from file
public static PedFileContents read(InputStream stream) throws IOException, PedParseException
PedFileContents
object.stream
- input stream to read fromPedFileContents
representing the contents of the fileIOException
- in the case of problems with reading from stream
PedParseException
- in the case of problems with parsing the data from stream
Copyright © 2016. All rights reserved.