public class PGPLiteralData extends Object
Modifier and Type | Field and Description |
---|---|
static char |
BINARY
Format tag for binary literal data
|
static String |
CONSOLE
The special name indicating a "for your eyes only" packet.
|
static Date |
NOW
The special time for a modification time of "now" or
the present time.
|
static char |
TEXT
Format tag for textual literal data
|
static char |
UTF8
Format tag for UTF-8 encoded textual literal data
|
Constructor and Description |
---|
PGPLiteralData(BCPGInputStream pIn) |
Modifier and Type | Method and Description |
---|---|
InputStream |
getDataStream()
Return the input stream representing the data stream.
|
String |
getFileName()
Return the file name associated with the data packet.
|
int |
getFormat()
Return the format of the data packet.
|
InputStream |
getInputStream()
Return the raw input stream for the data packet.
|
Date |
getModificationTime()
Return the modification time for the file (at second level precision).
|
byte[] |
getRawFileName()
Return the file name as an uninterpreted (UTF-8 encoded) byte array.
|
public static final char BINARY
public static final char TEXT
public static final char UTF8
public static final String CONSOLE
public static final Date NOW
public PGPLiteralData(BCPGInputStream pIn) throws IOException
IOException
public int getFormat()
public String getFileName()
public byte[] getRawFileName()
public Date getModificationTime()
public InputStream getInputStream()
public InputStream getDataStream()
getInputStream()
.