public class GXFtpResponse
extends java.lang.Object
Constructor and Description |
---|
GXFtpResponse(java.lang.String fileName,
byte[] arr)
Constructor - For internal use
|
Modifier and Type | Method and Description |
---|---|
void |
convertTextIfNeeded(java.lang.String mode)
Converts the dowloaded file to Windows/DOS/UNIX file format.
|
byte[] |
getFileAsByteArr() |
java.io.ByteArrayInputStream |
getFileAsInputStream()
For internal use
|
java.lang.String |
getFileName()
For internal use
|
public GXFtpResponse(java.lang.String fileName, byte[] arr)
public byte[] getFileAsByteArr()
public java.io.ByteArrayInputStream getFileAsInputStream()
public java.lang.String getFileName()
public void convertTextIfNeeded(java.lang.String mode)
mode
- possible values: "win", "dos" or "unix"Copyright 2019 Software AG. All rights reserved. Use is subject to license terms.