|
NASA World Wind | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectgov.nasa.worldwind.ogc.collada.io.ColladaInputStream
public class ColladaInputStream
Represents a COLLADA document read from an input stream.
| Field Summary | |
|---|---|
protected InputStream |
inputStream
The InputStream specified to the constructor. |
protected URI |
uri
The URI of this COLLADA document. |
| Constructor Summary | |
|---|---|
ColladaInputStream(InputStream sourceStream,
URI uri)
Construct a ColladaInputStream instance. |
|
| Method Summary | |
|---|---|
InputStream |
getInputStream()
Returns the input stream reference passed to the constructor. |
String |
getSupportFilePath(String path)
Returns an absolute path or URL to a file indicated by a path relative to the COLLADA file's location. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected InputStream inputStream
InputStream specified to the constructor.
protected URI uri
null.
| Constructor Detail |
|---|
public ColladaInputStream(InputStream sourceStream,
URI uri)
throws IOException
ColladaInputStream instance.
sourceStream - the COLLADA stream.uri - the URI of this COLLADA document. This URI is used to resolve relative references. May be
null.
IllegalArgumentException - if the specified input stream is null.
IOException - if an error occurs while attempting to read from the stream.| Method Detail |
|---|
public InputStream getInputStream()
throws IOException
getInputStream in interface ColladaDocIOException - if an error occurs while attempting to create or open the input stream.public String getSupportFilePath(String path)
getSupportFilePath in interface ColladaDocpath - the path of the requested file.
|
NASA World Wind | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||