i have a text file, having one value in each line digitsandnumbers. now once i read it line by line i need to pass each lines value to one staticmethod (class ABC)which takes it as one of the parameter to get me one more id. Please help me,.i am in trouble.... Please help me with the correct code
I don't understand the problem. You obviously know how to write a method, so what you want is a method which takes the line and extracts the UUID from it. Your code already gives you half the methodObviously I don't know how to complete your method for you.
Why are you making all your methods static? Please put spaces before and after binary operators, after commas etc. Your code is hard to read as it stands.
Joined: Jun 21, 2010
Thanks for your reply,
My problem is :
My bidfilename is bid.txt having one value in each line(1000lines together)
Now in my program, I am passing the entire textfile(bid.txt) to the method, instead of one line at a time.I want help in that
like when I check in the fieldname parameter inside the method GetUIDbyField of class ABC,the fieldname shows +@\\:Identifier:\""+bid.txt(the entire filename) ,instead of +@\\:Identifier:\""+12134(one by one line value at a time)