edu.nrao.sss.model.source.parser
Class CarmaSourceCatalogReader
java.lang.Object
edu.nrao.sss.model.source.parser.AbstractSourceCatalogReader
edu.nrao.sss.model.source.parser.CarmaSourceCatalogReader
- All Implemented Interfaces:
- SourceCatalogReader
public class CarmaSourceCatalogReader
- extends AbstractSourceCatalogReader
Methods inherited from class edu.nrao.sss.model.source.parser.AbstractSourceCatalogReader |
getCatalog, getError, getErrorCount, getErrors, getOriginOfSourceInformation, getPrefixForHistoricalRecords, getSuccess, putError, read, read, read, read, read, read, read, setOriginOfSourceInformation, setPrefixForHistoricalRecords |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CarmaSourceCatalogReader
public CarmaSourceCatalogReader()
- Creates a new instance.
read
public boolean read(Reader in,
SourceCatalog destination)
- NOTE: This method closes the incoming Reader!
- Specified by:
read
in interface SourceCatalogReader
- Specified by:
read
in class AbstractSourceCatalogReader
- Parameters:
in
- the source of text that can be read and turned into
Source
objects.destination
- the catalog to which the sources should be
added. If this parameter is null,
a new catalog will be created.
- Returns:
- true if nothing unexpected occurred while reading data.
- See Also:
AbstractSourceCatalogReader.read(java.io.Reader,
edu.nrao.sss.model.source.SourceCatalog)
Copyright © 2009. All Rights Reserved.