| Package | Description |
|---|---|
| org.apache.jena.atlas.io | |
| org.apache.jena.atlas.lib |
| Modifier and Type | Class and Description |
|---|---|
class |
AWriterBase
Simple abstraction of a string/character output stream
|
class |
IndentedLineBuffer
IndentLineBuffer is a buffer that records an indent level
and uses that to insert a prefix at each line.
|
class |
IndentedWriter
A writer that records what the current indentation level is, and
uses that to insert a prefix at each line.
|
class |
StringWriterI |
class |
Writer2
A Writer, without the checked exceptions.
|
| Modifier and Type | Method and Description |
|---|---|
static AWriter |
IO.wrap(Writer w)
Wrap in a general writer interface
|
static AWriter |
IO.wrapASCII(OutputStream out)
Wrap in a general writer interface
|
static AWriter |
IO.wrapUTF8(OutputStream out)
Wrap in a general writer interface
|
| Modifier and Type | Method and Description |
|---|---|
static void |
IO.close(AWriter resource) |
static void |
IO.closeSilent(AWriter resource) |
static void |
IO.flush(AWriter out) |
static int |
OutputUtils.oneHex(AWriter out,
int x,
int i)
Print one hex digit of the number
|
static void |
OutputUtils.printHex(AWriter out,
int x,
int width)
Print the number x in width hex chars.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
EscapeStr.stringEsc(AWriter out,
String s,
boolean asciiOnly)
Write a string - basic escaping, no quote escaping.
|
static void |
EscapeStr.stringEsc(AWriter out,
String s,
char quoteChar,
boolean singleLineString) |
static void |
EscapeStr.stringEsc(AWriter out,
String s,
char quoteChar,
boolean singleLineString,
CharSpace charSpace) |
static void |
EscapeStr.writeASCII(AWriter out,
String s)
Write a string with Unicode to ASCII conversion using \-u escapes
|
static void |
EscapeStr.writeCharAsASCII(AWriter out,
char c)
Write a character with Unicode to ASCII conversion using \-u escapes
|
Licenced under the Apache License, Version 2.0