public class ContentInputStreamContainer extends java.lang.Object implements ContentInputStream
Modifier and Type | Field and Description |
---|---|
protected long |
length |
protected java.io.InputStream |
stream |
Constructor and Description |
---|
ContentInputStreamContainer(java.io.InputStream stream,
long length) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
void |
finalize() |
long |
getLength()
Gets the size of the underlying input stream in bytes.
|
java.io.InputStream |
getStreamReference()
Gets the underlying input stream.
|
public ContentInputStreamContainer(java.io.InputStream stream, long length)
public java.io.InputStream getStreamReference()
ContentInputStream
getStreamReference
in interface ContentInputStream
public long getLength()
ContentInputStream
getLength
in interface ContentInputStream
public void close() throws java.io.IOException
close
in interface java.io.Closeable
close
in interface java.lang.AutoCloseable
java.io.IOException
public void finalize()
finalize
in class java.lang.Object
Copyright © 2021 Dassault Systèmes, All Rights Reserved.