j3d.org Code

org.j3d.renderer.java3d.loaders
Class Ac3dLoader

java.lang.Object
  extended byorg.j3d.renderer.java3d.loaders.Ac3dLoader

public class Ac3dLoader
extends java.lang.Object

Java 3D Loader implementation for AC3D files.

Version:
$Revision: 1.1 $
Author:
Ryan Wilhm (ryan@entrophica.com)

Constructor Summary
Ac3dLoader()
          Default constructor, which initializes the token handler.
 
Method Summary
 java.lang.String getBasePath()
          Accessor for the basePath property.
 java.net.URL getBaseUrl()
           
 int getFlags()
          Accessor for the flags property.
 com.sun.j3d.loaders.Scene load(java.io.Reader reader)
           
 com.sun.j3d.loaders.Scene load(java.lang.String fileName)
           
 com.sun.j3d.loaders.Scene load(java.net.URL url)
           
 void setBasePath(java.lang.String basePath)
          Mutator that sets the basePath property.
 void setBaseUrl(java.net.URL baseUrl)
           
 void setFlags(int flags)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Ac3dLoader

public Ac3dLoader()

Default constructor, which initializes the token handler.

Method Detail

load

public com.sun.j3d.loaders.Scene load(java.lang.String fileName)
                               throws java.io.FileNotFoundException,
                                      com.sun.j3d.loaders.IncorrectFormatException,
                                      com.sun.j3d.loaders.ParsingErrorException
Parameters:
fileName -
Returns:
The scene instance representing the contents of the file
Throws:
java.io.FileNotFoundException
com.sun.j3d.loaders.IncorrectFormatException
ParsingException
com.sun.j3d.loaders.ParsingErrorException

load

public com.sun.j3d.loaders.Scene load(java.io.Reader reader)
                               throws java.io.FileNotFoundException,
                                      com.sun.j3d.loaders.IncorrectFormatException,
                                      com.sun.j3d.loaders.ParsingErrorException
Parameters:
reader -
Returns:
The scene instance representing the contents of the file
Throws:
java.io.FileNotFoundException
com.sun.j3d.loaders.IncorrectFormatException
ParsingException
com.sun.j3d.loaders.ParsingErrorException

load

public com.sun.j3d.loaders.Scene load(java.net.URL url)
                               throws java.io.FileNotFoundException,
                                      com.sun.j3d.loaders.IncorrectFormatException,
                                      com.sun.j3d.loaders.ParsingErrorException
Parameters:
url -
Returns:
The scene instance representing the contents of the file
Throws:
java.io.FileNotFoundException
com.sun.j3d.loaders.IncorrectFormatException
ParsingException
com.sun.j3d.loaders.ParsingErrorException

setFlags

public void setFlags(int flags)

getFlags

public int getFlags()

Accessor for the flags property.

Returns:
The current state of the flags property.

setBaseUrl

public void setBaseUrl(java.net.URL baseUrl)

getBaseUrl

public java.net.URL getBaseUrl()

setBasePath

public void setBasePath(java.lang.String basePath)
Mutator that sets the basePath property.

Parameters:
basePath - The value to set the basePath property to.

getBasePath

public java.lang.String getBasePath()
Accessor for the basePath property.

Returns:
The current state of the basePath property.

j3d.org Code

Latest Info from http://code.j3d.org/
Copyright © 2001 - j3d.org