public class ColladaInputStream extends Object implements ColladaDoc
| Modifier and Type | Field and Description | 
|---|---|
protected InputStream | 
inputStream
The  
InputStream specified to the constructor. | 
protected URI | 
uri
The URI of this COLLADA document. 
 | 
| Constructor and Description | 
|---|
ColladaInputStream(InputStream sourceStream,
                  URI uri)
Construct a  
ColladaInputStream instance. | 
| Modifier and Type | Method and Description | 
|---|---|
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. 
 | 
protected InputStream inputStream
InputStream specified to the constructor.protected URI uri
null.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.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.