E
- 3D matrix element typepublic abstract class AbstractMatrix3DWriter<E> extends Object implements Matrix3DWriter<E>
Constructor and Description |
---|
AbstractMatrix3DWriter() |
Modifier and Type | Method and Description |
---|---|
void |
write(Matrix3D<? extends E> matrix,
File file)
Write the specified 3D matrix to the specified file.
|
void |
write(Matrix3D<? extends E> matrix,
OutputStream outputStream)
Write the specified 3D matrix to the specified output stream.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
append
public final void write(Matrix3D<? extends E> matrix, File file) throws IOException
write
in interface Matrix3DWriter<E>
matrix
- 3D matrix to write, must not be nullfile
- file to write to, must not be nullIOException
- if an IO error occurspublic final void write(Matrix3D<? extends E> matrix, OutputStream outputStream) throws IOException
write
in interface Matrix3DWriter<E>
matrix
- 3D matrix to write, must not be nulloutputStream
- output stream to write to, must not be nullIOException
- if an IO error occursCopyright (c) 2008-2013 held jointly by the individual authors. Licensed under the GNU Lesser General Public License (LGPL).