Class UueSaveOptions


  • public class UueSaveOptions
    extends Object

    Options for saving an uuencoded file.

    • Constructor Detail

      • UueSaveOptions

        public UueSaveOptions​(String fileName,
                              String newLine)

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

        Parameters:
        fileName - the file name to be used when recreating the decoded data
        newLine - the character terminating each line
      • UueSaveOptions

        public UueSaveOptions​(String fileName)

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

        Parameters:
        fileName - the file name to be used when recreating the decoded data
    • Method Detail

      • getNewLine

        public final String getNewLine()

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

        Returns:
        the character terminating each line, usually "\n" or "\r\n".
      • getFileName

        public final String getFileName()

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

        Returns:
        the file name to be used when recreating the decoded data
      • getUnixFilePermissions

        public final String getUnixFilePermissions()

        Gets the file's Unix file permissions.

        Default is 644.

        Returns:
        the file's Unix file permissions
      • setUnixFilePermissions

        public final void setUnixFilePermissions​(String value)

        Sets the file's Unix file permissions.

        Default is 644.

        Parameters:
        value - the file's Unix file permissions