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