FileDocCategorySizeDatePackage
CorpDataService.javaAPI DocExample636Tue Jan 15 12:04:20 GMT 2002javasoap.book.ch9.services

CorpDataService

public class CorpDataService extends Object

Fields Summary
Constructors Summary
Methods Summary
public java.lang.String[]getHeadlines(java.lang.String symbol)


      HeadlineParser hp = new HeadlineParser();
      Vector v = hp.getHeadlines(symbol);
      int len = v.size();
      String[] result = new String[len];
      for (int i = 0; i < len; i++) {
         result[i] = (String)v.elementAt(i);
      }

      return result;
   
public QuotegetQuote(java.lang.String symbol)


      QuoteParser qp = new QuoteParser();
      return qp.getQuote(symbol);