简体   繁体   中英

How to read a text file with multiple paragraphs from assets folder?

I have a text file with multiple paragraphs in the assets folder. I want to read it and want to store each paragraph in a String array? How i can do that.

How to read from asset file: read file from assets

How to parse a string into paragraphs: What character can be used to parse for paragraphs with Java?

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM