|
org.netbeans.modules.editor.guards/0 0.1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface GuardedSectionsProvider
Subclasses should be able to read content containing guarded section marks
and vice versa. You should subclass AbstractGuardedSectionsProvider
.
Use this interface in case you load or save the Document
.
Method Summary | |
---|---|
Reader |
createGuardedReader(InputStream stream,
String encoding)
Creates a reader able to read persisted sections. |
Writer |
createGuardedWriter(OutputStream stream,
String encoding)
Creates a writer able to write persisted sections. |
Method Detail |
---|
Reader createGuardedReader(InputStream stream, String encoding) throws UnsupportedEncodingException
stream
- stream containing persisted sectionsencoding
- encoding to decode read bytes
if
- the encoding is not supported
UnsupportedEncodingException
Writer createGuardedWriter(OutputStream stream, String encoding) throws UnsupportedEncodingException
stream
- stream where the output should be writtenencoding
- encoding used by the writer
if
- the encoding is not supported
UnsupportedEncodingException
|
org.netbeans.modules.editor.guards/0 0.1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |