| Package | Description |
|---|---|
| ru.dlabs71.library.email.util |
This package contains all the helper classes that are used by the library or can be used by you.
|
| Modifier and Type | Method and Description |
|---|---|
EmailAttachment |
AttachmentUtils.create(String pathToFile)
Creates an object of the
EmailAttachment class by the path to file. |
EmailAttachment |
AttachmentUtils.create(String pathToFile,
FileParametersDetector detector)
Creates an object of the
EmailAttachment class by the path to file argument
The path to file must start with the following prefixes: "file://", "classpath:" or a path separator. |
File |
AttachmentUtils.createFile(String pathToFile)
Creates a file object from the file path argument.
|
Copyright © 2023. All rights reserved.