I'm trying to read a formatted file in Java, I used to do this pretty well in C but no clue here. The example line is:
A '0' B C
And I want to take A and 0 as two separated Strings and [B, C] as two Strings in a String ArrayList.
The line fomrat can be modified in anyway, for example adding commas
A '0' B, C, D...
Any idea on how to split this? I used to do it with fseek, fread, etc when working in C
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…