public class LocalFileGetDataResponse extends java.lang.Object implements IGetDataResponse
IGetDataResponse for a File.| Constructor and Description |
|---|
LocalFileGetDataResponse(java.io.File pFile)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
java.io.InputStream |
getInputStream() |
java.lang.String |
getLocalCodePage() |
boolean |
isWriteProtected()
Returns whether the response restricts the re-upload of the contents.
|
public LocalFileGetDataResponse(java.io.File pFile)
pFile - the file this get data response refers topublic boolean isWriteProtected()
IGetDataResponseisWriteProtected in interface IGetDataResponsetrue if the received data is write protected and
false otherwise.public java.io.InputStream getInputStream()
throws java.io.IOException
getInputStream in interface IGetDataResponsejava.io.IOException - if an error occurs during the creation of the input streampublic java.lang.String getLocalCodePage()
getLocalCodePage in interface IGetDataResponsenullCopyright © 2015 Micro Focus GmbH. All rights reserved.