|
TPTP 4.2.0 Platform Project Internal API Specification |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
IReader is provided to federate any class wanted to read IDObject, or IDItem of JScrib core using an InputStream.
| Method Summary | |
|---|---|
void |
clear()
Clears before re-use |
DColorRegistry |
getColorRegistry()
Returns the colors which has been loaded by the reader. |
DFontRegistry |
getFontRegistry()
Returns the fonts which has been loaded by the reader. |
DStyleRegistry |
getStyleRegistry()
Returns the styles which has been loaded by the reader. |
IDObject[] |
read(java.io.InputStream in)
Reads the IDObject from an InputStream. |
void |
setColorRegistry(DColorRegistry registry)
Sets the color registry where the reader stores the colors which loads |
void |
setFontRegistry(DFontRegistry registry)
Sets the font registry where the reader stores the fonts which loads |
void |
setStyleRegistry(DStyleRegistry registry)
Sets the style registry where the reader stores the styles which loads |
| Method Detail |
public IDObject[] read(java.io.InputStream in)
throws java.lang.Exception
java.lang.Exceptionpublic DStyleRegistry getStyleRegistry()
public DFontRegistry getFontRegistry()
public DColorRegistry getColorRegistry()
public void setStyleRegistry(DStyleRegistry registry)
public void setFontRegistry(DFontRegistry registry)
public void setColorRegistry(DColorRegistry registry)
public void clear()
|
TPTP 4.2.0 Platform Project Internal API Specification |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||