Class MailSenderInputStream

java.lang.Object
best.skn.mail.models.MailSenderInputStream

public class MailSenderInputStream extends Object
Mail sender input stream class for processing proper input stream info in controllers
Since:
2024-05-29
Version:
2.2.0
Author:
SKN Shukhan
Use Case:
Spring Boot Reactive
Dedicated To:
Logno, Atoshi and My Parents
  • Field Details

    • fileLocation

      private String fileLocation
      Private String property for containing the file location where the output copied file will be
      Since:
      v2.0.0
    • inputStream

      private InputStream inputStream
      Private InputStream property for containing input stream that will be sent to the API
      Since:
      v2.0.0
  • Constructor Details

    • MailSenderInputStream

      public MailSenderInputStream(String fileLocation, InputStream inputStream)
      Public Constructor with all private properties
      Parameters:
      fileLocation - String containing the file location where the output copied file will be
      inputStream - InputStream for containing input stream that will be sent to the API
      Since:
      v2.1.0
  • Method Details

    • getFileLocation

      public String getFileLocation()
      Getter method for `fileLocation` field
      Returns:
      String for `fileLocation` field
      Since:
      v2.1.0
    • setFileLocation

      public void setFileLocation(String value)
      Setter method for `fileLocation` field
      Parameters:
      value - String for `fileLocation` field
      Since:
      v2.1.0
    • getInputStream

      public InputStream getInputStream()
      Getter method for `inputStream` field
      Returns:
      InputStream for `inputStream` field
      Since:
      v2.1.0
    • setInputStream

      public void setInputStream(InputStream value)
      Setter method for `inputStream` field
      Parameters:
      value - InputStream for `inputStream` field
      Since:
      v2.1.0
    • toString

      public String toString()
      Overridden built-in `toString` method
      Overrides:
      toString in class Object
      Returns:
      Formatted String to print out the class
      Since:
      v2.1.0