I had the same problem with my STLLoader and was asking myself why couldn't the
method take an InputStream as parameter.

What I did: return null and document that this method is not implemented.

regards
Paul

Justin Couch schrieb:

> I have a query from the javagaming site that I'd appreciate some advice
> on. The person is writing a loader that loads a binary file format
> (Quake 3 md3 files). The Loader interface includes a method that takes a
> Reader instance. Obviously, the Reader and binary file formats do not mix.
>
> What is the collective wisdom on the correct response from his loader
> implementation when this method is called? Should it throw a generic
> IOException or do something more tricky?
>
> --
> Justin Couch                         http://www.vlc.com.au/~justin/
> Freelance Java Consultant                  http://www.yumetech.com/
> Author, Java 3D FAQ Maintainer                  http://www.j3d.org/
> -------------------------------------------------------------------
> "Humanism is dead. Animals think, feel; so do machines now.
> Neither man nor woman is the measure of all things. Every organism
> processes data according to its domain, its environment; you, with
> all your brains, would be useless in a mouse's universe..."
>                                                - Greg Bear, Slant
> -------------------------------------------------------------------
>
> ===========================================================================
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
> of the message "signoff JAVA3D-INTEREST".  For general help, send email to
> [EMAIL PROTECTED] and include in the body of the message "help".

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA3D-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to