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