Class ByteArrayDataSource
java.lang.Object
org.apache.pdfbox.preflight.utils.ByteArrayDataSource
- All Implemented Interfaces:
DataSource
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
data
-
type
-
name
-
-
Constructor Details
-
ByteArrayDataSource
- Throws:
IOException
-
-
Method Details
-
getContentType
- Specified by:
getContentType
in interfaceDataSource
-
setType
- Parameters:
type
- the type to set
-
setName
- Parameters:
name
- the name to set
-
getInputStream
- Specified by:
getInputStream
in interfaceDataSource
- Throws:
IOException
-
getName
- Specified by:
getName
in interfaceDataSource
-
getOutputStream
- Specified by:
getOutputStream
in interfaceDataSource
- Throws:
IOException
-