|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.jreality.reader.AbstractReader
public abstract class AbstractReader
Abstract class for a SceneReader. Implement setInput so that the Input is processed and the component assigned to root.
| Constructor Summary | |
|---|---|
AbstractReader()
|
|
| Method Summary | |
|---|---|
SceneGraphComponent |
getComponent()
provides the root component for the scene that was read. |
SceneGraphComponent |
read(File input)
convenience method for reading a File. |
SceneGraphComponent |
read(Input input)
convenience method for reading from an Input. |
SceneGraphComponent |
read(URL input)
convenience method for reading from a URL. |
void |
setInput(Input input)
set the input to read the scene from |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractReader()
| Method Detail |
|---|
public void setInput(Input input)
throws IOException
SceneReader
setInput in interface SceneReaderinput - the Input of the resource to read.
IOExceptionpublic SceneGraphComponent getComponent()
SceneReader
getComponent in interface SceneReader
public SceneGraphComponent read(Input input)
throws IOException
input - the input
IOException
public SceneGraphComponent read(URL input)
throws IOException
input - the input URL
IOException
public SceneGraphComponent read(File input)
throws IOException
input - the input file
IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||