pairwise-logo.gif (1266 bytes)

All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class PairwiseComparativeMap.PCM_FileParser

java.lang.Object
   |
   +----PairwiseComparativeMap.PCM_FileParser

public class PCM_FileParser
extends Object
This file takes in a Buffered Reader to a '.pcm' file and creates a set of data objects that can be processed by the Pairwise Comparative Map component. The user should create a Buffered Reader from a URL or local file and create an instance of this class with it.

Version:
1.0

Author:
Written by Jeremy Dickson for the UK Crop Plant Bioinformatics Network, October 1998.


Constructor Index

 o PCM_FileParser(BufferedReader)
Default constructor.

Method Index

 o parseFile()
Call this method to parse a file.

Constructors

 o PCM_FileParser
 public PCM_FileParser(BufferedReader reader)
Default constructor.

Parameters:
reader - A Buffered Reader to a .pcm file.

Methods

 o parseFile
 public PairwiseComparativeMapData parseFile() throws PCMFileParsingException
Call this method to parse a file. You have to catch any possible parsing exceptions with PCMFileParsingException.

Returns:
If sucessful returns PairwiseComparativeMapData object. This encapsulates all the information needed to draw a Pairwise Comparative Map.

All Packages  Class Hierarchy  This Package  Previous  Next  Index