public class InputStreamFileContents extends java.lang.Object implements IFileContents
IFileContents which uses an input stream and
character set to describe the file data.| Constructor and Description |
|---|
InputStreamFileContents(java.io.InputStream pInputStream,
java.nio.charset.Charset pCharset)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getContents()
Gets the file descriptor contents.
|
public InputStreamFileContents(java.io.InputStream pInputStream,
java.nio.charset.Charset pCharset)
pInputStream - the file contentspCharset - character set the contents are encoded inpublic java.lang.String getContents()
throws java.io.IOException
IFileContentsgetContents in interface IFileContentsjava.io.IOException - if any exception occurs while attempting to return the file
contentsCopyright © 2015 Micro Focus GmbH. All rights reserved.