UueSaveOptions

Inheritance: java.lang.Object

public class UueSaveOptions

Options for saving an uuencoded file.

Constructors

ConstructorDescription
UueSaveOptions(String fileName, String newLine)Initializes the options with the user provided file name and the new line.
UueSaveOptions(String fileName)Initializes the options with the user provided file name and the default new line.

Methods

MethodDescription
getFileName()Gets the file name to be used when recreating the decoded data.
getNewLine()Gets the character terminating each line, usually “\n” or “\r\n”.
getUnixFilePermissions()Gets the file’s Unix file permissions.
setUnixFilePermissions(String value)Sets the file’s Unix file permissions.

UueSaveOptions(String fileName, String newLine)

public UueSaveOptions(String fileName, String newLine)

Initializes the options with the user provided file name and the new line.

Parameters:

ParameterTypeDescription
fileNamejava.lang.Stringthe file name to be used when recreating the decoded data
newLinejava.lang.Stringthe character terminating each line

UueSaveOptions(String fileName)

public UueSaveOptions(String fileName)

Initializes the options with the user provided file name and the default new line.

Parameters:

ParameterTypeDescription
fileNamejava.lang.Stringthe file name to be used when recreating the decoded data

getFileName()

public final String getFileName()

Gets the file name to be used when recreating the decoded data.

Returns: java.lang.String - the file name to be used when recreating the decoded data

getNewLine()

public final String getNewLine()

Gets the character terminating each line, usually “\n” or “\r\n”.

Returns: java.lang.String - the character terminating each line

getUnixFilePermissions()

public final String getUnixFilePermissions()

Gets the file’s Unix file permissions.

Default is 644.

Returns: java.lang.String - the file’s Unix file permissions

setUnixFilePermissions(String value)

public final void setUnixFilePermissions(String value)

Sets the file’s Unix file permissions.

Default is 644.

Parameters:

ParameterTypeDescription
valuejava.lang.Stringthe file’s Unix file permissions