Sha256: 9e5da67be6e5707e0f527bd0dd7b710db69c05f8a0440a5e942d450760f1eddd
Contents?: true
Size: 533 Bytes
Versions: 9
Compression:
Stored size: 533 Bytes
Contents
package wordcram.text; import processing.core.PApplet; public class TextFile implements TextSource { private final String path; // TODO if we move all .text.* classes into WordCram, we can kill this, and // use pkg-local methods for setting the parent... private final PApplet parent; public TextFile(String path, PApplet parent) { this.path = path; this.parent = parent; } @Override public String getText() { return PApplet.join(parent.loadStrings(path), ' '); } }
Version data entries
9 entries across 9 versions & 1 rubygems