ByteArrayResource that a ResourceTransformer
can use to represent an original resource preserving all other information
except the content.
| Modifier and Type | Field and Description |
|---|---|
| private final String | |
| private final long |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public String | getFilename()
Overrides org. Implements org. This implementation always returns |
| public long | lastModified()
Overrides org. Implements org. This implementation checks the timestamp of the underlying File, if available. |
| filename | back to summary |
|---|---|
| private final String filename
| |
| lastModified | back to summary |
|---|---|
| private final long lastModified | |
| TransformedResource | back to summary |
|---|---|
| public TransformedResource(Resource original, byte[] transformedContent) | |
| getFilename | back to summary |
|---|---|
| public String getFilename() Overrides org. Implements org. Doc from org. This implementation always returns | |
| lastModified | back to summary |
|---|---|
| public long lastModified() throws IOException Overrides org. Implements org. Doc from org. This implementation checks the timestamp of the underlying File, if available.
| |