org.exolab.javasource

Class JCommentFormatter


public final class JCommentFormatter
extends java.lang.Object

A class to format comments.
Version:
$Revision: 6668 $ $Date: 2005-05-08 12:32:06 -0600 (Sun, 08 May 2005) $
Author:
Ralf Joachim
Since:
1.1

Constructor Summary

JCommentFormatter(String comment, int maxLength, String prefix)
Creates a new LineFormatter for the given comment.

Method Summary

boolean
hasMoreLines()
String
nextLine()

Constructor Details

JCommentFormatter

public JCommentFormatter(String comment,
                         int maxLength,
                         String prefix)
Creates a new LineFormatter for the given comment.
Parameters:
comment - The String to format.
maxLength - The maximum number of characters per line.
prefix - A prefix to append to the beginning of each line.

Method Details

hasMoreLines

public boolean hasMoreLines()

nextLine

public String nextLine()

Intalio Inc. (C) 1999-2008. All rights reserved http://www.intalio.com