Class Document
- java.lang.Object
-
- no.digipost.signature.client.core.Document
-
- All Implemented Interfaces:
ASiCEAttachable
,SignableFileReference
- Direct Known Subclasses:
DirectDocument
,PortalDocument
public abstract class Document extends Object implements ASiCEAttachable
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Document.FileType
-
Constructor Summary
Constructors Modifier Constructor Description protected
Document(String title, String message, String fileName, Document.FileType fileType, byte[] document)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]
getBytes()
String
getFileName()
String
getMessage()
String
getMimeType()
String
getTitle()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface no.digipost.signature.client.asice.ASiCEAttachable
getSha256
-
-
-
-
Constructor Detail
-
Document
protected Document(String title, String message, String fileName, Document.FileType fileType, byte[] document)
-
-
Method Detail
-
getFileName
public String getFileName()
- Specified by:
getFileName
in interfaceASiCEAttachable
- Specified by:
getFileName
in interfaceSignableFileReference
-
getBytes
public byte[] getBytes()
- Specified by:
getBytes
in interfaceASiCEAttachable
-
getMimeType
public String getMimeType()
- Specified by:
getMimeType
in interfaceASiCEAttachable
- Specified by:
getMimeType
in interfaceSignableFileReference
-
getTitle
public String getTitle()
-
getMessage
public String getMessage()
-
-