Stream

Overview

Stream is a class in Aspose.3D FOSS for Java. Inherits from: FilterInputStream.

Stream.Stream creates a Stream wrapping the given InputStream.

This class provides 4 methods for working with Stream objects in Java programs. Available methods include: Stream, flush, getInputStream, getOutputStream. All exported members are accessible to any Java application after installing the Aspose.3D FOSS for Java package. Properties: inputStream, outputStream.

Description

Stream is a class in the Aspose.3D FOSS library for Java that exposes 3 methods and 2 properties for programmatic use. It extends FilterInputStream, inheriting shared functionality from its parent type.

Core capabilities include: outputstream; java.io.inputstream; flushes any buffered data to the underlying stream. These operations enable developers to integrate stream functionality directly into Java applications.

The class also provides the outputStream property (gets the output stream), the inputStream property (gets the input stream).

The class offers 2 constructor overloads, allowing flexible initialization depending on the calling context.

Properties

NameTypeAccessDescription
outputStreamOutputStreamReadGets the output stream.
inputStreamjava.io.InputStreamReadGets the input stream.

Methods

SignatureDescription
Stream(in: InputStream)Creates a Stream wrapping the given InputStream
Stream(out: OutputStream)
flush()Flushes any buffered data to the underlying stream
getOutputStream()OutputStreamReturns the output stream.
getInputStream()java.io.InputStreamReturns the input stream.

See Also