Results 1 to 2 of 2
Thread: Tab delimited to buffer issue
- 01-14-2015, 12:10 PM #1
Member
- Join Date
- Jan 2015
- Posts
- 7
- Rep Power
- 0
Tab delimited to buffer issue
Hello Java gurus,
I am very new to Java/J2EE programming. I need your guidance or suggestions to write few classes as below. Even I do not know what classes that I have to call honestly. So please suggest for further step.
My team asked me to write few classes for below points
Java class #1) Read all data from tab delimited file
Java class #2) Store in a list or Buffer or Hash either
Java class #3) Get an Input value of Timestamp and compare this timestamp value with Buffer/Hash/List and get second column of value
From google, I have found only to java #1.
Thanks for your positive reply in advance.
- Venkat
- 01-14-2015, 12:28 PM #2
Re: Tab delimited to buffer issue
I can only assume "your team" is actually your professor and that this is actually an assignment you are having trouble with. No worries, we can help you, there is no need to disguise your problems in a fictional "My team has a project" story.
So I'll give you a few pointers:
1) Java - Read CSV with Scanner() - Stack Overflow
2) java.util.List or java.util.Map. Which one you use depends on what you need to store.
3) Comparing objects uses the equals() method. Comparing primitives uses ==.
Nobody is going to barf out all the code you need, so if that is your intention, please vistit www.rentacoder.com. If not, you should show the code you're having problems with and a clear description of what it does, what it *should* do and the error messages, if any."It's not fixed until you stop calling the problem weird and you understand what was wrong." - gimbal2™ © 2013
Similar Threads
-
how to read a text delimited file using 2 dimentional array in java ??
By pooja123 in forum New To JavaReplies: 2Last Post: 04-01-2011, 04:04 PM -
java program for reading delimited txt file to excel sheet
By rsn64 in forum Advanced JavaReplies: 3Last Post: 09-24-2010, 09:53 PM -
Delimited file processing
By lottalava in forum Advanced JavaReplies: 7Last Post: 06-18-2010, 12:19 AM -
Buffer Example help.
By bert682 in forum Threads and SynchronizationReplies: 0Last Post: 11-27-2009, 10:26 AM -
Http Buffer issue... chunked?
By jlew in forum NetworkingReplies: 1Last Post: 11-04-2007, 06:45 PM
Bookmarks