Package best.skn.mail.models
Class MailSenderInputStream
java.lang.Object
best.skn.mail.models.MailSenderInputStream
Mail sender input stream class for processing proper input stream info in controllers
- Since:
- 2024-05-29
- Version:
- 2.4.0
- Author:
- SKN Shukhan
- Use Case:
- Spring Boot Reactive
- Dedicated To:
- Logno, Atoshi and My Parents
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate StringPrivate String property for containing the file location where the output copied file will beprivate InputStreamPrivate InputStream property for containing input stream that will be sent to the API -
Constructor Summary
ConstructorsConstructorDescriptionMailSenderInputStream(String fileLocation, InputStream inputStream) Public Constructor with all private properties -
Method Summary
Modifier and TypeMethodDescriptionGetter method for `fileLocation` fieldGetter method for `inputStream` fieldvoidsetFileLocation(String value) Setter method for `fileLocation` fieldvoidsetInputStream(InputStream value) Setter method for `inputStream` fieldtoString()Overridden built-in `toString` method
-
Field Details
-
fileLocation
Private String property for containing the file location where the output copied file will be- Since:
- v2.0.0
-
inputStream
Private InputStream property for containing input stream that will be sent to the API- Since:
- v2.0.0
-
-
Constructor Details
-
MailSenderInputStream
Public Constructor with all private properties- Parameters:
fileLocation- String containing the file location where the output copied file will beinputStream- InputStream for containing input stream that will be sent to the API- Since:
- v2.1.0
-
-
Method Details
-
getFileLocation
Getter method for `fileLocation` field- Returns:
- String for `fileLocation` field
- Since:
- v2.1.0
-
setFileLocation
Setter method for `fileLocation` field- Parameters:
value- String for `fileLocation` field- Since:
- v2.1.0
-
getInputStream
Getter method for `inputStream` field- Returns:
- InputStream for `inputStream` field
- Since:
- v2.1.0
-
setInputStream
Setter method for `inputStream` field- Parameters:
value- InputStream for `inputStream` field- Since:
- v2.1.0
-
toString
Overridden built-in `toString` method
-