Package com.atlassian.confluence.core
Class InputStreamSerializer
- java.lang.Object
-
- com.atlassian.confluence.core.InputStreamSerializer
-
public class InputStreamSerializer extends Object
ComposesInputStreams
.- Since:
- 5.2
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description InputStreamSerializer
add(Callable<InputStream>... inputStreamFactories)
InputStreamSerializer
addAll(Iterable<Callable<InputStream>> inputStreamFactories)
InputStreamSerializer
addAllDataSources(Iterable<javax.activation.DataSource> dataSources)
InputStreamSerializer
addDataSource(javax.activation.DataSource... dataSources)
static InputStreamSerializer
eager()
static InputStreamSerializer
eagerInDevMode()
static InputStreamSerializer
lenient()
String
readInputsToString()
String
toString()
-
-
-
Method Detail
-
lenient
public static InputStreamSerializer lenient()
- Returns:
- a lenient serializer, meaning that a potential escape of an underlying
InputStream
factory will cause the serialization to continue, the caught exception will go to the log
-
eager
public static InputStreamSerializer eager()
- Returns:
- an eager serializer, meaning that a potential escape of an underlying
InputStream
factory will cause the serialization to escape
-
eagerInDevMode
public static InputStreamSerializer eagerInDevMode()
-
add
public InputStreamSerializer add(Callable<InputStream>... inputStreamFactories)
-
addAll
public InputStreamSerializer addAll(Iterable<Callable<InputStream>> inputStreamFactories)
-
addDataSource
public InputStreamSerializer addDataSource(javax.activation.DataSource... dataSources)
-
addAllDataSources
public InputStreamSerializer addAllDataSources(Iterable<javax.activation.DataSource> dataSources)
-
readInputsToString
public String readInputsToString()
-
-