org.jvnet.hudson.update_center
Class IndexHtmlBuilder

java.lang.Object
  extended by org.jvnet.hudson.update_center.IndexHtmlBuilder
All Implemented Interfaces:
java.io.Closeable

public class IndexHtmlBuilder
extends java.lang.Object
implements java.io.Closeable

Author:
Kohsuke Kawaguchi

Constructor Summary
IndexHtmlBuilder(java.io.File dir, java.lang.String title)
           
IndexHtmlBuilder(java.io.PrintWriter out, java.lang.String title)
           
 
Method Summary
 void add(MavenArtifact a)
           
 void add(java.lang.String url, java.lang.String caption)
           
 void close()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IndexHtmlBuilder

public IndexHtmlBuilder(java.io.File dir,
                        java.lang.String title)
                 throws java.io.IOException
Throws:
java.io.IOException

IndexHtmlBuilder

public IndexHtmlBuilder(java.io.PrintWriter out,
                        java.lang.String title)
Method Detail

add

public void add(MavenArtifact a)
         throws java.io.IOException
Throws:
java.io.IOException

add

public void add(java.lang.String url,
                java.lang.String caption)
         throws java.net.MalformedURLException
Throws:
java.net.MalformedURLException

close

public void close()
           throws java.io.IOException
Specified by:
close in interface java.io.Closeable
Throws:
java.io.IOException


Copyright © 2010. All Rights Reserved.