public class FileContentStream extends java.lang.Object implements ContentStream
Modifier and Type | Field and Description |
---|---|
protected java.io.File |
file |
Constructor and Description |
---|
FileContentStream(java.io.File f) |
Modifier and Type | Method and Description |
---|---|
java.io.InputStream |
getStream()
Gets the underlying input stream.
|
long |
getStreamLength()
Gets the size of the underlying input stream in bytes.
|
public java.io.InputStream getStream()
ContentStream
getStream
in interface ContentStream
public long getStreamLength()
ContentStream
getStreamLength
in interface ContentStream
Copyright © 2013 Dassault Systèmes, All Rights Reserved.