public final class R2MBUnmappedWriter extends Object implements R2MBWriterType
WritableByteChannel
.Modifier and Type | Method and Description |
---|---|
void |
close() |
static R2MBWriterType |
newWriterForOutputStream(OutputStream s,
R2MeshTangentsType m)
Construct a new writer for the given stream.
|
static R2MBWriterType |
newWriterForPath(Path p,
R2MeshTangentsType m)
Construct a new writer for the given file.
|
long |
run()
Execute the write operation.
|
public static R2MBWriterType newWriterForPath(Path p, R2MeshTangentsType m) throws IOException
p
- The filem
- The meshIOException
- On I/O errorspublic static R2MBWriterType newWriterForOutputStream(OutputStream s, R2MeshTangentsType m) throws IOException
s
- The output streamm
- The meshIOException
- On I/O errorspublic long run() throws IOException
R2MBWriterType
run
in interface R2MBWriterType
IOException
- On I/O errorspublic void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
IOException
Copyright © 2017 <code@io7m.com> http://io7m.com