Class PdfSerializer
java.lang.Object
cz.metacentrum.perun.rpc.serializer.PdfSerializer
- All Implemented Interfaces:
Serializer
Implementation of
Serializer that returns PDF files.- Author:
- Vojtech Sassmann invalid input: '<'vojtech.sassmann@gmail.com>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidSerializesPerunException.voidSerializesPerunRuntimeException.
-
Constructor Details
-
PdfSerializer
-
-
Method Details
-
getContentType
- Specified by:
getContentTypein interfaceSerializer- Returns:
- Content-type of this serializer's output format and its encoding.
-
write
- Specified by:
writein interfaceSerializer- Throws:
IOException
-
writePerunException
Description copied from interface:SerializerSerializesPerunException.- Specified by:
writePerunExceptionin interfaceSerializer- Parameters:
pex-PerunExceptionto serialize- Throws:
IOException- If an IO error occurs
-
writePerunRuntimeException
Description copied from interface:SerializerSerializesPerunRuntimeException.- Specified by:
writePerunRuntimeExceptionin interfaceSerializer- Parameters:
prex-PerunRuntimeExceptionto serialize- Throws:
IOException- If an IO error occurs
-