public class PGPLiteralData
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static char |
BINARY |
static java.lang.String |
CONSOLE
The special name indicating a "for your eyes only" packet.
|
static java.util.Date |
NOW
The special time for a modification time of "now" or
the present time.
|
static char |
TEXT |
static char |
UTF8 |
Constructor and Description |
---|
PGPLiteralData(BCPGInputStream pIn) |
Modifier and Type | Method and Description |
---|---|
java.io.InputStream |
getDataStream()
Return the input stream representing the data stream
|
java.lang.String |
getFileName()
Return the file name that's associated with the data stream.
|
int |
getFormat()
Return the format of the data stream - BINARY or TEXT.
|
java.io.InputStream |
getInputStream()
Return the raw input stream for the data stream.
|
java.util.Date |
getModificationTime()
Return the modification time for the file.
|
byte[] |
getRawFileName()
Return the file name as an unintrepreted byte array.
|
public static final char BINARY
public static final char TEXT
public static final char UTF8
public static final java.lang.String CONSOLE
public static final java.util.Date NOW
public PGPLiteralData(BCPGInputStream pIn) throws java.io.IOException
java.io.IOException
public int getFormat()
public java.lang.String getFileName()
public byte[] getRawFileName()
public java.util.Date getModificationTime()
public java.io.InputStream getInputStream()
public java.io.InputStream getDataStream()