Package com.composum.sling.core.util
Class ValueEmbeddingWriter.ValueWriter
- java.lang.Object
-
- com.composum.sling.core.util.ValueEmbeddingWriter.ValueWriter
-
- Enclosing class:
- ValueEmbeddingWriter
protected class ValueEmbeddingWriter.ValueWriter extends Object
-
-
Field Summary
Fields Modifier and Type Field Description protected StringBuilder
keyBuffer
-
Constructor Summary
Constructors Modifier Constructor Description protected
ValueWriter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
embed(ValueEmbeddingReader.Key key, @Nullable Reader reader)
void
flush()
boolean
write(char token)
-
-
-
Field Detail
-
keyBuffer
protected StringBuilder keyBuffer
-
-
Method Detail
-
write
public boolean write(char token) throws IOException
- Throws:
IOException
-
flush
public void flush() throws IOException
- Throws:
IOException
-
embed
protected void embed(@NotNull ValueEmbeddingReader.Key key, @Nullable @Nullable Reader reader) throws IOException
- Throws:
IOException
-
-