Datasets:
apcl
/

Modalities:
Text
Formats:
webdataset
Libraries:
Datasets
WebDataset
mcmillco's picture
init
e789b06
raw
history blame
683 Bytes
TDAT: protected void fillTextareaWithStyleSheetContent(InputStream stream) {
try {
StringWriter writer = new StringWriter();
InputStreamReader streamReader = new InputStreamReader(stream);
BufferedReader buffer = new BufferedReader(streamReader);
String line = "";
boolean b = false;
while (null != (line = buffer.readLine())) {
if (b)
writer.write("\n");
writer.write(line);
b = true;
}
buffer.close();
streamReader.close();
String content = writer.toString();
setStyleSheetContent(content);
} catch (Exception e) {
handleExceptions(e);
}
}
COM: <s> fill the text area which store the style sheet content with the </s>