de.javagl.utils.obj
Interface MtlReader

All Known Implementing Classes:
DefaultMtlReader

public interface MtlReader

An interface for classes that may read MTL data, and store the read materials as Mtl objects in a list.


Method Summary
 void read(InputStream inputStream, List<Mtl> mtlList)
          Read the MTL data from the given stream, and store the read Mtl objects in the given list.
 

Method Detail

read

void read(InputStream inputStream,
          List<Mtl> mtlList)
          throws IOException
Read the MTL data from the given stream, and store the read Mtl objects in the given list.

Parameters:
inputStream - The stream to read from.
mtlList - The list of Mtl object.
Throws:
IOException - If an IO error occurs