Package org.apache.jena.sparql.resultset
Interface OutputFormatter
-
- All Known Implementing Classes:
CSVOutput,OutputBase,TextOutput,TSVOutput,XMLOutput
public interface OutputFormatterInterface for all formatters of result sets.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringasString(ResultSet resultSet)Turn into a stringvoidformat(java.io.OutputStream out, boolean booleanResult)Format a boolean result - output on the given streamvoidformat(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
-
-