public interface GuardedSectionsProvider
AbstractGuardedSectionsProvider
.
Use this interface in case you load or save the Document
.Modifier and Type | Method and Description |
---|---|
Reader |
createGuardedReader(InputStream stream,
Charset charset)
Creates a reader able to read persisted sections.
|
Writer |
createGuardedWriter(OutputStream stream,
Charset charset)
Creates a writer able to write persisted sections.
|
Reader createGuardedReader(InputStream stream, Charset charset)
stream
- stream containing persisted sectionscharset
- charset to decode read bytes, null
implies
the system default charset.Writer createGuardedWriter(OutputStream stream, Charset charset)
stream
- stream where the output should be writtencharset
- charset used by the writer