Package net.optionfactory.keycloak.email
Class CidFromThemeDataSource
- java.lang.Object
-
- net.optionfactory.keycloak.email.CidFromThemeDataSource
-
- All Implemented Interfaces:
javax.activation.DataSource
public class CidFromThemeDataSource extends Object implements javax.activation.DataSource
-
-
Constructor Summary
Constructors Constructor Description CidFromThemeDataSource(org.keycloak.theme.Theme theme, CidSource cid)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetContentType()InputStreamgetInputStream()StringgetName()OutputStreamgetOutputStream()
-
-
-
Constructor Detail
-
CidFromThemeDataSource
public CidFromThemeDataSource(org.keycloak.theme.Theme theme, CidSource cid)
-
-
Method Detail
-
getInputStream
public InputStream getInputStream() throws IOException
- Specified by:
getInputStreamin interfacejavax.activation.DataSource- Throws:
IOException
-
getOutputStream
public OutputStream getOutputStream() throws IOException
- Specified by:
getOutputStreamin interfacejavax.activation.DataSource- Throws:
IOException
-
getContentType
public String getContentType()
- Specified by:
getContentTypein interfacejavax.activation.DataSource
-
getName
public String getName()
- Specified by:
getNamein interfacejavax.activation.DataSource
-
-