|
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.ColladaFile
public class ColladaFile
Represents a COLLADA document read from a file.
| Field Summary | |
|---|---|
protected File |
colladaFile
File from which COLLADA content is read. |
| Constructor Summary | |
|---|---|
ColladaFile(File file)
Create a new instance from a file. |
|
| Method Summary | |
|---|---|
InputStream |
getInputStream()
Returns an InputStream to the associated COLLADA document. |
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 File colladaFile
| Constructor Detail |
|---|
public ColladaFile(File file)
file - COLLADA file from which to read content.| Method Detail |
|---|
public InputStream getInputStream()
throws IOException
InputStream to the associated COLLADA document.
Implementations of this interface do not close the stream; the user of the class must close the stream.
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 | ||||||||