Class WriteParams


  • public class WriteParams
    extends Object
    Parameter container class for Unix System Services (USS) write to file object

    z/OSMF REST API

    Version:
    3.0
    Author:
    Frank Giordano
    • Constructor Detail

      • WriteParams

        public WriteParams​(WriteParams.Builder builder)
        WriteParams constructor
        Parameters:
        builder - WriteParams.Builder builder
    • Method Detail

      • getTextContent

        public Optional<String> getTextContent()
        Retrieve textContent value
        Returns:
        textContent value
      • getBinaryContent

        public Optional<byte[]> getBinaryContent()
        Retrieve binaryContent value
        Returns:
        binaryContent value
      • getFileEncoding

        public Optional<String> getFileEncoding()
        Retrieve fileEncoding value
        Returns:
        fileEncoding value
      • isCrlf

        public boolean isCrlf()
        Retrieve is crlf specified
        Returns:
        boolean true or false
      • isBinary

        public boolean isBinary()
        Retrieve is binary specified
        Returns:
        boolean true or false
      • toString

        public String toString()
        Return string value representing WriteParams object
        Overrides:
        toString in class Object
        Returns:
        string representation of WriteParams