Class MessageMetadata.LiteralData
java.lang.Object
org.pgpainless.decryption_verification.MessageMetadata.LiteralData
- All Implemented Interfaces:
MessageMetadata.Nested
,MessageMetadata.Packet
- Enclosing class:
- MessageMetadata
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturn the value of the filename field.Return the value of the format field.Return the value of the modification date field.boolean
-
Field Details
-
fileName
-
modificationDate
-
format
-
-
Constructor Details
-
LiteralData
public LiteralData() -
LiteralData
public LiteralData(@Nonnull String fileName, @Nonnull Date modificationDate, @Nonnull StreamEncoding format)
-
-
Method Details
-
getFileName
Return the value of the filename field. An empty String""
indicates no filename.- Returns:
- filename
-
getModificationDate
Return the value of the modification date field. A special date
indicates no modification date.new Date(0L)
- Returns:
- modification date
-
getFormat
Return the value of the format field.- Returns:
- format
-
hasNestedChild
public boolean hasNestedChild()- Specified by:
hasNestedChild
in interfaceMessageMetadata.Nested
-