public class JTextFile extends AbstractJResourceFile
Constructor and Description |
---|
JTextFile(String sName,
Charset aEncoding) |
Modifier and Type | Method and Description |
---|---|
void |
build(OutputStream aOS)
called by
JPackage to produce the file image. |
String |
contents() |
Charset |
encoding() |
void |
setContents(String sContents) |
isResource, name
public void build(@Nonnull @WillNotClose OutputStream aOS) throws IOException
AbstractJResourceFile
JPackage
to produce the file image.build
in class AbstractJResourceFile
aOS
- OutputStream to write toIOException
- If writing on the stream throws an errorCopyright © 2013–2018 Philip Helger. All rights reserved.