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
R2MBWriterTyperun in interface R2MBWriterTypeIOException - On I/O errorspublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionCopyright © 2017 <code@io7m.com> http://io7m.com