Skip to content

Commit

Permalink
Added documentation for JSONExporter.java
Browse files Browse the repository at this point in the history
Change-Id: I73014920c92529fe85e60e3cf3285f49b72b8642
  • Loading branch information
Mike Wiederhold committed Mar 16, 2011
1 parent 64d7164 commit c451f67
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/com/membase/jtap/exporter/JSONExporter.java
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,22 @@
import com.membase.jtap.exception.FieldDoesNotExistException;
import com.membase.jtap.message.ResponseMessage;

/**
* Prints tap message information out as a json to standard out.
*/
public class JSONExporter implements Exporter {

/**
* Creates a JSONExporter.
*/
public JSONExporter() {

}

/**
* Writes a tap messages key name and attempts to write its value if one exists.
* @param message The tap message to export data from.
*/
@Override
public void write(ResponseMessage message) {
String key;
Expand Down

0 comments on commit c451f67

Please sign in to comment.