I am working on a parser which parses delimited text. Example
position 1-10: field a
position 11-20: field b
position 21-30: field c
etc
Any design patterns I can use to implement? I believe I should be using Visitor pattern
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Visitorpattern?! Just read the file line by line and usesubstring():Am I missing something? Can you clarify your question?