Interface IEnumKeyValueConfigurationBinaryObject
-
- All Known Implementing Classes:
EnumKeyValueConfigurationBinaryObject
public interface IEnumKeyValueConfigurationBinaryObject
Define the binary object interface
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
getData()
Get the datajava.lang.String
getMimetype()
Get the mime typejava.lang.String
getName()
Get the namejava.time.Instant
getTimestamp()
Get the timestampjava.lang.String
toString()
The strign representation of the binary type: Format:[name]|[timestamp]|{mime-type}[content base64 encoded].
The name, timestamp (according to RFC 3339), mime-type and the content (base64 encoded content) are optional values.
-
-
-
Method Detail
-
getName
java.lang.String getName()
Get the name- Returns:
- the name
-
getMimetype
java.lang.String getMimetype()
Get the mime type- Returns:
- the mime type
-
getTimestamp
java.time.Instant getTimestamp()
Get the timestamp- Returns:
- the timestamp
-
getData
java.lang.String getData()
Get the data- Returns:
- the data
-
toString
java.lang.String toString()
The strign representation of the binary type: Format:[name]|[timestamp]|{mime-type}[content base64 encoded].
The name, timestamp (according to RFC 3339), mime-type and the content (base64 encoded content) are optional values. If the name, timestamp or content are present, they must be separated by a pipe character (|). The mime-type can be declared as header of the content. If there is no pipe character it's assumed its the content part. e.g.myfile.txt|2021-03-15T08:59:22.123Z|{text/plain}VGV4dAo=
ormyfile.txt|2021-03-15T08:59:22.123Z|{text/plain}
ormyfile.txt|2021-03-15T08:59:22.123Z|VGV4dAo=
or2021-03-15T08:59:22.123Z|{text/plain}VGV4dAo=
or2021-03-15T08:59:22.123Z|{text/plain}
or2021-03-15T08:59:22.123Z|VGV4dAo=
ormyfile.txt|{text/plain}VGV4dAo=
ormyfile.txt|{text/plain}
ormyfile.txt|VGV4dAo=
or{text/plain}VGV4dAo=
or{text/plain}
orVGV4dAo=
- Overrides:
toString
in classjava.lang.Object
- Returns:
- the string representation
-
-