Package hudson.plugins.emailext.plugins
Class ZipDataSource
- java.lang.Object
-
- hudson.plugins.emailext.plugins.ZipDataSource
-
- All Implemented Interfaces:
SizedDataSource
,jakarta.activation.DataSource
public class ZipDataSource extends Object implements SizedDataSource
-
-
Constructor Summary
Constructors Constructor Description ZipDataSource(File f)
ZipDataSource(String name, InputStream in)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getContentType()
InputStream
getInputStream()
String
getName()
OutputStream
getOutputStream()
long
getSize()
-
-
-
Constructor Detail
-
ZipDataSource
public ZipDataSource(File f) throws IOException
- Throws:
IOException
-
ZipDataSource
public ZipDataSource(String name, InputStream in) throws IOException
- Throws:
IOException
-
-
Method Detail
-
getContentType
public String getContentType()
- Specified by:
getContentType
in interfacejakarta.activation.DataSource
-
getInputStream
public InputStream getInputStream()
- Specified by:
getInputStream
in interfacejakarta.activation.DataSource
-
getName
public String getName()
- Specified by:
getName
in interfacejakarta.activation.DataSource
-
getOutputStream
public OutputStream getOutputStream() throws IOException
- Specified by:
getOutputStream
in interfacejakarta.activation.DataSource
- Throws:
IOException
-
getSize
public long getSize()
- Specified by:
getSize
in interfaceSizedDataSource
-
-