ucar.unidata.idv.publish
Class ThreddsPublisher

java.lang.Object
  extended by ucar.unidata.idv.publish.ThreddsPublisher

public class ThreddsPublisher
extends Object

Note, This is very much in flux. A client to an infocetera weblog (see: http://www.infocetera.com).

Author:
IDV development team

Constructor Summary
ThreddsPublisher(IntegratedDataViewer idv)
          Create the thredds publisher
 
Method Summary
 void publish()
          Go ahead and publish
 boolean resultOk(String xml)
          Check the return xml from the http post
protected  void showError(String msg, String html)
          This method strips the html tags from the given html error message.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ThreddsPublisher

public ThreddsPublisher(IntegratedDataViewer idv)
Create the thredds publisher

Parameters:
idv - The idv
Method Detail

resultOk

public boolean resultOk(String xml)
Check the return xml from the http post

Parameters:
xml - The xml we go back from infocetera
Returns:
Was this ok

showError

protected void showError(String msg,
                         String html)
This method strips the html tags from the given html error message. It also strips out the copyright and other footer lines and shows the results to the user.

Parameters:
msg - The message
html - The html

publish

public void publish()
Go ahead and publish