String.
| Modifier and Type | Field and Description |
|---|---|
| private final byte[] | |
| private final String |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public final String | getFileName()
Implements org. |
| public final long | lastModified()
Implements org. 0L if the time of the last
modification cannot be determined.
|
| public final InputStream | |
| public final String |
| data | back to summary |
|---|---|
| private final byte[] data | |
| fileName | back to summary |
|---|---|
| private final String fileName | |
| StringResource | back to summary |
|---|---|
| public StringResource(String fileName, String text) | |
| getFileName | back to summary |
|---|---|
| public final String getFileName() Implements org. Doc from org. Returns a decorative "file name" that can be used for reporting errors and the like. It does not necessarily map to a file in the local file system!
| |
| lastModified | back to summary |
|---|---|
| public final long lastModified() Implements org. Doc from org. Returns the time of the last modification, in milliseconds since 1970, or
| |
| open | back to summary |
|---|---|
| public final InputStream open() Implements org. Doc from org. Opens the resource. The caller is responsible for closing the
| |
| toString | back to summary |
|---|---|
| public final String toString() Overrides java. Doc from java. Returns a string representation of the object. | |