| Modifier and Type | Class and Description |
|---|---|
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| private static final Set | COMPRESSED_FORMATS
the file formats which Access stores raw. |
| private static final int | CONTENT_HEADER_FLAG
the second int of the content header. |
| private static final int | |
| private static final int | |
| private static final int | |
| private static final String | |
| private static final String | |
| private final Column | |
| private final Column | |
| private final Column | |
| private final Column | |
| private final Column | |
| private final Column | |
| private static final int |
| Access | Constructor and Description |
|---|---|
| public |
| COMPRESSED_FORMATS | back to summary |
|---|---|
| private static final Set<String> COMPRESSED_FORMATS the file formats which Access stores raw. It deflates everything else, including formats which are compressed already, such as gz and mp3 | |
| CONTENT_HEADER_FLAG | back to summary |
|---|---|
| private static final int CONTENT_HEADER_FLAG the second int of the content header. Access always writes a 1 | |
| CONTENT_HEADER_SIZE | back to summary |
|---|---|
| private static final int CONTENT_HEADER_SIZE | |
| DATA_TYPE_COMPRESSED | back to summary |
|---|---|
| private static final int DATA_TYPE_COMPRESSED | |
| DATA_TYPE_RAW | back to summary |
|---|---|
| private static final int DATA_TYPE_RAW | |
| FILE_NAME_COL_NAME | back to summary |
|---|---|
| private static final String FILE_NAME_COL_NAME | |
| FILE_TYPE_COL_NAME | back to summary |
|---|---|
| private static final String FILE_TYPE_COL_NAME | |
| fileDataCol | back to summary |
|---|---|
| private final Column fileDataCol | |
| fileFlagsCol | back to summary |
|---|---|
| private final Column fileFlagsCol | |
| fileNameCol | back to summary |
|---|---|
| private final Column fileNameCol | |
| fileTimeStampCol | back to summary |
|---|---|
| private final Column fileTimeStampCol | |
| fileTypeCol | back to summary |
|---|---|
| private final Column fileTypeCol | |
| fileUrlCol | back to summary |
|---|---|
| private final Column fileUrlCol | |
| WRAPPER_HEADER_SIZE | back to summary |
|---|---|
| private static final int WRAPPER_HEADER_SIZE | |
| AttachmentColumnInfoImpl | back to summary |
|---|---|
| public AttachmentColumnInfoImpl(Column column, int complexId, Table typeObjTable, Table flatTable) throws IOException | |
| asRow | back to summary |
|---|---|
| protected Object[] asRow(Object[] row, Attachment attachment) throws IOException Overrides io.
| |
| getFileDataColumn | back to summary |
|---|---|
| public Column getFileDataColumn() | |
| getFileFlagsColumn | back to summary |
|---|---|
| public Column getFileFlagsColumn() | |
| getFileNameColumn | back to summary |
|---|---|
| public Column getFileNameColumn() | |
| getFileTimeStampColumn | back to summary |
|---|---|
| public Column getFileTimeStampColumn() | |
| getFileTypeColumn | back to summary |
|---|---|
| public Column getFileTypeColumn() | |
| getFileUrlColumn | back to summary |
|---|---|
| public Column getFileUrlColumn() | |
| getType | back to summary |
|---|---|
| public ComplexDataType getType() Implements abstract io. Implements io.
| |
| newAttachment | back to summary |
|---|---|
| public static Attachment newAttachment(byte[] data) | |
| newAttachment | back to summary |
|---|---|
| public static Attachment newAttachment(ComplexValueForeignKey complexValueFk, byte[] data) | |
| newAttachment | back to summary |
|---|---|
| public static Attachment newAttachment(String url, String name, String type, byte[] data, Object timeStamp, Integer flags) | |
| newAttachment | back to summary |
|---|---|
| public static Attachment newAttachment(ComplexValueForeignKey complexValueFk, String url, String name, String type, byte[] data, Object timeStamp, Integer flags) | |
| newEncodedAttachment | back to summary |
|---|---|
| public static Attachment newEncodedAttachment(byte[] encodedData) | |
| newEncodedAttachment | back to summary |
|---|---|
| public static Attachment newEncodedAttachment(ComplexValueForeignKey complexValueFk, byte[] encodedData) | |
| newEncodedAttachment | back to summary |
|---|---|
| public static Attachment newEncodedAttachment(String url, String name, String type, byte[] encodedData, Object timeStamp, Integer flags) | |
| newEncodedAttachment | back to summary |
|---|---|
| public static Attachment newEncodedAttachment(ComplexValueForeignKey complexValueFk, String url, String name, String type, byte[] encodedData, Object timeStamp, Integer flags) | |
| toValue | back to summary |
|---|---|
| protected AttachmentColumnInfoImpl. Implements abstract io.
| |
| Modifier and Type | Field and Description |
|---|---|
| private byte[] | |
| private byte[] | |
| private Integer | |
| private String | |
| private Object | |
| private String | |
| private String |
| Access | Constructor and Description |
|---|---|
| private | AttachmentImpl(ComplexValue.
|
| Modifier and Type | Method and Description |
|---|---|
| private byte[] | |
| public void | delete()
Implements io. Deletes the data for this complex value from the database. |
| private byte[] | |
| public byte[] | |
| public byte[] | |
| public Integer | |
| public LocalDateTime | |
| public String | |
| public Date | getFileTimeStamp()
Implements io.
Deprecated
see
DateTimeType for details
|
| public Object | |
| public String | |
| public String | |
| public void | setEncodedFileData(byte[] newEncodedData)
Implements io.
|
| public void | |
| public void | setFileFlags(Integer fileFlags)
Implements io.
|
| public void | setFileLocalTimeStamp(LocalDateTime fileTimeStamp)
Implements io.
|
| public void | |
| public void | setFileTimeStamp(Date fileTimeStamp)
Implements io.
Deprecated
see
DateTimeType for details
|
| public void | |
| public void | |
| public String | |
| public void | update()
Implements io. Writes any updated data for this complex value to the database. |
| data | back to summary |
|---|---|
| private byte[] data | |
| encodedData | back to summary |
|---|---|
| private byte[] encodedData | |
| flags | back to summary |
|---|---|
| private Integer flags | |
| name | back to summary |
|---|---|
| private String name | |
| timeStamp | back to summary |
|---|---|
| private Object timeStamp | |
| type | back to summary |
|---|---|
| private String type | |
| url | back to summary |
|---|---|
| private String url | |
| AttachmentImpl | back to summary |
|---|---|
| private AttachmentImpl(ComplexValue. | |
| decodeData | back to summary |
|---|---|
| private byte[] decodeData() throws IOException Decodes the raw attachment file data to get the _actual_ content.
| |
| delete | back to summary |
|---|---|
| public void delete() throws IOException Implements io. Doc from io. Deletes the data for this complex value from the database.
| |
| encodeData | back to summary |
|---|---|
| private byte[] encodeData() throws IOException Encodes the actual attachment file data to get the raw, stored format.
| |
| getEncodedFileData | back to summary |
|---|---|
| public byte[] getEncodedFileData() throws IOException Implements io.
| |
| getFileData | back to summary |
|---|---|
| public byte[] getFileData() throws IOException Implements io.
| |
| getFileFlags | back to summary |
|---|---|
| public Integer getFileFlags() Implements io.
| |
| getFileLocalTimeStamp | back to summary |
|---|---|
| public LocalDateTime getFileLocalTimeStamp() Implements io.
| |
| getFileName | back to summary |
|---|---|
| public String getFileName() Implements io.
| |
| getFileTimeStamp | back to summary |
|---|---|
| public Date getFileTimeStamp() Implements io. Deprecated see
| |
| getFileTimeStampObject | back to summary |
|---|---|
| public Object getFileTimeStampObject() Implements io.
| |
| getFileType | back to summary |
|---|---|
| public String getFileType() Implements io.
| |
| getFileUrl | back to summary |
|---|---|
| public String getFileUrl() Implements io.
| |
| setEncodedFileData | back to summary |
|---|---|
| public void setEncodedFileData(byte[] newEncodedData) Implements io.
| |
| setFileData | back to summary |
|---|---|
| public void setFileData(byte[] newData) Implements io.
| |
| setFileFlags | back to summary |
|---|---|
| public void setFileFlags(Integer fileFlags) Implements io.
| |
| setFileLocalTimeStamp | back to summary |
|---|---|
| public void setFileLocalTimeStamp(LocalDateTime fileTimeStamp) Implements io.
| |
| setFileName | back to summary |
|---|---|
| public void setFileName(String fileName) Implements io.
| |
| setFileTimeStamp | back to summary |
|---|---|
| public void setFileTimeStamp(Date fileTimeStamp) Implements io. Deprecated see
| |
| setFileType | back to summary |
|---|---|
| public void setFileType(String fileType) Implements io.
| |
| setFileUrl | back to summary |
|---|---|
| public void setFileUrl(String fileUrl) Implements io.
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non-
| |
| update | back to summary |
|---|---|
| public void update() throws IOException Implements io. Doc from io. Writes any updated data for this complex value to the database.
| |