| Author |
Read data from CSV File
|
|
| christopher_board@yahoo.co.uk 2007-08-31, 8:40 pm |
| Hi all. I am currently trying to develop a program that will read data
from a CSV file which includes computer names that have been exported
from Active Directory. I want my java program to read in the CSV file
and get the data and place it into the JList.
Is this possible.
Any help in this matter would be highly appreciated.
Thank you
| |
| Knute Johnson 2007-08-31, 8:40 pm |
| christopher_board@yahoo.co.uk wrote:
> Hi all. I am currently trying to develop a program that will read data
> from a CSV file which includes computer names that have been exported
> from Active Directory. I want my java program to read in the CSV file
> and get the data and place it into the JList.
>
> Is this possible.
>
> Any help in this matter would be highly appreciated.
>
> Thank you
>
A JList is only a single dimensional list. Is your data single
dimensional too? Comma delimited data is easily parsed with a Scanner
or StringTokenizer.
--
Knute Johnson
email s/nospam/knute/
| |
| Roedy Green 2007-08-31, 11:39 pm |
| On Fri, 31 Aug 2007 15:50:43 -0700, christopher_board@yahoo.co.uk
wrote, quoted or indirectly quoted someone who said :
>Hi all. I am currently trying to develop a program that will read data
>from a CSV file which includes computer names that have been exported
>from Active Directory. I want my java program to read in the CSV file
>and get the data and place it into the JList.
You don't need to reinvent that wheel. See
http://mindprod.com/jgloss/csv.html
--
Roedy Green Canadian Mind Products
The Java Glossary
http://mindprod.com
|
|
|
|