ezvcard
Class Ezvcard.WriterChainHtml

java.lang.Object
  extended by ezvcard.Ezvcard.WriterChainHtml
Enclosing class:
Ezvcard

public static class Ezvcard.WriterChainHtml
extends Object

Chainer class for writing HTML vCards (hCard).

See Also:
Ezvcard.writeHtml(Collection), Ezvcard.writeHtml(VCard...)

Method Summary
 String go()
          Writes the hCards to a string.
 void go(File file)
          Writes the hCards to a file.
 void go(OutputStream out)
          Writes the hCards to an output stream.
 void go(Writer writer)
          Writes the hCards to a writer.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

go

public String go()
Writes the hCards to a string.

Returns:
the HTML page

go

public void go(OutputStream out)
        throws IOException
Writes the hCards to an output stream.

Parameters:
out - the output stream to write to
Throws:
IOException - if there's a problem writing to the output stream

go

public void go(File file)
        throws IOException
Writes the hCards to a file.

Parameters:
file - the file to write to
Throws:
IOException - if there's a problem writing to the file

go

public void go(Writer writer)
        throws IOException
Writes the hCards to a writer.

Parameters:
writer - the writer to write to
Throws:
IOException - if there's a problem writing to the writer


Copyright © 2012-2014 Michael Angstadt. All Rights Reserved.