public interface GridFsObject<ID,CONTENT>
| Modifier and Type | Interface and Description |
|---|---|
static class |
GridFsObject.Options
Additional, context relevant information.
|
| Modifier and Type | Method and Description |
|---|---|
CONTENT |
getContent()
The actual file content.
|
ID |
getFileId()
The
GridFSFile.getId() value converted into its simple java type. |
String |
getFilename()
The filename.
|
GridFsObject.Options |
getOptions()
Additional information like file metadata (eg. contentType).
|
@Nullable ID getFileId()
GridFSFile.getId() value converted into its simple java type. BsonString will be converted to plain String.String getFilename()
CONTENT getContent()
IllegalStateException - if the content cannot be obtained.GridFsObject.Options getOptions()
Copyright © 2011–2023 Pivotal Software, Inc.. All rights reserved.