com.karmasphere.client.bquery
Class Main

java.lang.Object
  extended by com.karmasphere.client.bquery.Main

public class Main
extends Object

Command line variant, this is more or less and cut'n'paste from the C client in several places.


Constructor Summary
Main()
           
 
Method Summary
static Response doQuery(BQueryClient client, Set<String> feeds, Set<String> feedsets, Set<Id> identities)
           
static void main(String[] args)
           
static Id parseId(String data, int type)
           
static String prettyPrint(Map data)
           
static void showUsage()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Main

public Main()
Method Detail

showUsage

public static final void showUsage()

main

public static void main(String[] args)
                 throws Exception
Throws:
Exception

doQuery

public static Response doQuery(BQueryClient client,
                               Set<String> feeds,
                               Set<String> feedsets,
                               Set<Id> identities)
                        throws IOException
Throws:
IOException

prettyPrint

public static String prettyPrint(Map data)

parseId

public static Id parseId(String data,
                         int type)


Copyright © 2004-2005 Karamsphere. All Rights Reserved.