| Package | Description |
|---|---|
| eu.europa.esig.dss |
| Modifier and Type | Field and Description |
|---|---|
static MimeType |
MimeType.ASICE |
static MimeType |
MimeType.ASICS |
static MimeType |
MimeType.BINARY |
static MimeType |
MimeType.JPEG |
static MimeType |
MimeType.ODS |
static MimeType |
MimeType.ODT |
static MimeType |
MimeType.PDF |
static MimeType |
MimeType.PKCS7 |
static MimeType |
MimeType.PNG |
static MimeType |
MimeType.TEXT |
static MimeType |
MimeType.TST |
static MimeType |
MimeType.XML |
| Modifier and Type | Method and Description |
|---|---|
static MimeType |
MimeType.fromFile(File file)
This method returns the mime-type extrapolated from the file.
|
static MimeType |
MimeType.fromFileName(String fileName)
This method returns the mime-type extrapolated from the file name.
|
static MimeType |
MimeType.fromMimeTypeString(String mimeTypeString)
This method returns the first representation of the
MimeType
corresponding to the given mime-type string. |
MimeType |
RemoteDocument.getMimeType() |
MimeType |
DSSDocument.getMimeType()
Returns the mime-type of the
DSSDocument. |
| Modifier and Type | Method and Description |
|---|---|
static String |
MimeType.getExtension(MimeType mimeType) |
void |
RemoteDocument.setMimeType(MimeType mimeType) |
void |
DSSDocument.setMimeType(MimeType mimeType)
This method sets the mime-type of the
DSSDocument. |
| Constructor and Description |
|---|
RemoteDocument(byte[] bytes,
MimeType mimeType,
String name) |
RemoteDocument(byte[] bytes,
MimeType mimeType,
String name,
String absolutePath) |
Copyright © 2018. All rights reserved.