| Modifier and Type | Method and Description |
|---|---|
static List<Mtl> |
read(InputStream inputStream)
Read the MTL data from the given stream, and return
it as
Mtl objects. |
static List<Mtl> |
read(Reader reader)
Read the MTL data from the given reader, and return
it as
Mtl objects. |
public static List<Mtl> read(InputStream inputStream) throws IOException
Mtl objects.
The caller is responsible for closing the given stream.inputStream - The stream to read from.IOException - If an IO error occurspublic static List<Mtl> read(Reader reader) throws IOException
Mtl objects.
The caller is responsible for closing the given reader.reader - The reader to read from.IOException - If an IO error occursCopyright © 2015. All rights reserved.