NAME
Finance::Bank::SentinelBenefits::Csv401kConverter::LineParser - turns CSV lines into standardized Line objects
VERSION
version 1.3
SYNOPSIS
This class takes raw lines from the Sentinel website's CSV files and a map of security names to symbols, and returns parsed Finance::Bank::SentinelBenefits::Csv401kConverter::Line
objects
CONSTANTS
NUMBER_OF_FIELDS
Number of fields in the Sentinel file
Constructor
new()
my $f = Finance::Bank::SentinelBenefits::Csv401kConverter::LineParser->new( {
symbol_map => $symbol_map,
} );
Construct a new LineParser with the given symbol map
Accessors
$p->symbol_map()
Accesses the passed in symbol map. This is only really for internal use, as the symbol map is immutable.
Methods
$f->parse_line($line);
This method takes the line to be parsed as an argument.
If it is a valid security line, it returns a Finance::Bank::SentinelBenefits::Csv401kConverter::Line
.
If it is not a valid security line, it returns undef
.
LICENSE AND COPYRIGHT Copyright 2009-2023 David Solimano This file is part of Finance::Bank::SentinelBenefits::Csv401kConverter
Finance::Bank::SentinelBenefits::Csv401kConverter is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
Finance::Bank::SentinelBenefits::Csv401kConverter is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with Finance::Bank::SentinelBenefits::Csv401kConverter. If not, see <http://www.gnu.org/licenses/>