org.jvnet.hudson.update_center
Class IndexHtmlBuilder

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

public class IndexHtmlBuilder
extends Object
implements Closeable

Author:
Kohsuke Kawaguchi

Constructor Summary
IndexHtmlBuilder(File dir, String title)
           
IndexHtmlBuilder(PrintWriter out, String title)
           
 
Method Summary
 void add(MavenArtifact a)
           
 void add(String url, 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(File dir,
                        String title)
                 throws IOException
Throws:
IOException

IndexHtmlBuilder

public IndexHtmlBuilder(PrintWriter out,
                        String title)
Method Detail

add

public void add(MavenArtifact a)
         throws IOException
Throws:
IOException

add

public void add(String url,
                String caption)
         throws MalformedURLException
Throws:
MalformedURLException

close

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


Copyright © 2004-2011. All Rights Reserved.