Package org.apache.jena.sparql.resultset
Interface OutputFormatter
-
- All Known Implementing Classes:
CSVOutput
,OutputBase
,TextOutput
,TSVOutput
,XMLOutput
public interface OutputFormatter
Interface for all formatters of result sets.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
asString(ResultSet resultSet)
Turn into a stringvoid
format(java.io.OutputStream out, boolean booleanResult)
Format a boolean result - output on the given streamvoid
format(java.io.OutputStream out, ResultSet resultSet)
Format a result set - output on the given stream
-
-
-
Method Detail
-
format
void format(java.io.OutputStream out, ResultSet resultSet)
Format a result set - output on the given stream- Parameters:
out
-resultSet
-
-
format
void format(java.io.OutputStream out, boolean booleanResult)
Format a boolean result - output on the given stream- Parameters:
out
-booleanResult
-
-
asString
java.lang.String asString(ResultSet resultSet)
Turn into a string
-
-