com.hp.hpl.jena.sparql.resultset
Interface OutputFormatter

All Known Implementing Classes:
CSVOutput, JSONOutput, OutputBase, TextOutput, TSVOutput, XMLOutput

public interface OutputFormatter

Interface for all formatters of result sets.


Method Summary
 String asString(ResultSet resultSet)
          Turn into a string
 void format(OutputStream out, boolean booleanResult)
          Format a boolean result - output on the given stream
 void format(OutputStream out, ResultSet resultSet)
          Format a result set - output on the given stream
 

Method Detail

format

void format(OutputStream out,
            ResultSet resultSet)
Format a result set - output on the given stream

Parameters:
out -
resultSet -

format

void format(OutputStream out,
            boolean booleanResult)
Format a boolean result - output on the given stream

Parameters:
out -
booleanResult -

asString

String asString(ResultSet resultSet)
Turn into a string



Licenced under the Apache License, Version 2.0