阅读背景:

如何在java中使用“。”作为String.split()的分隔符

来源:互联网 

What I am trying to do is read a .java file, and pick out all of the identifiers and store them in a list. My problem is with the .split() method. If you run this code the way it is, you will get ArrayOutOfBounds, but if you change the delimiter from "." to anything else, the code works. But I need to lines parsed by "." so is there another way I could accomplish this?What I am trying to do is read a .java file, an




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: