Back to project page square-libgdx.
The source code is released under:
GNU General Public License
If you think the Android project square-libgdx listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.denzyldick.square; /* w ww . j av a 2 s . c o m*/ import com.badlogic.gdx.Gdx; import com.badlogic.gdx.files.FileHandle; public class File { private FileHandle file; public File(String filepath) { this.file = Gdx.files.local(filepath); } public void writeString(String data, boolean append) { this.file.writeString(data, append); } public FileHandle readFile() { return this.file; } }