Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 
 package com.sporniket.libre.javabeans.generator.core;
 
 
Base implementation of PackageGenerator

© Copyright 2012-2013 David Sporn


This file is part of The Sporniket Javabeans Library – core.

The Sporniket Javabeans Library – core is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

The Sporniket Javabeans Library – core is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with The Sporniket Javabeans Library – core. If not, see http://www.gnu.org/licenses/. 2


Author(s):
David SPORN
Version:
13.01.01
Since:
13.01.01
public class PackageGeneratorBase implements PackageGenerator
{
Name of the template file for the package-info.
	private static final String TEMPLATE_NAME__PACKAGE_INFO = "template_package.txt";
	{
	}
	{
	}
	public void outputPackageInfo(PrintWriter outPackage packBeanSet set)
	{
		Object[] _params =
		{
				pack.getName(),
				(null != pack.getAnnotation()) ? pack.getAnnotation().getSummary() : "",
				JavadocUtils.generateDescription(pack),
				JavadocUtils.generateLicence(set),
				JavadocUtils.generateAuthor(set),
				JavadocUtils.generateSee(packset),
				pack.getName()
		};
	}
New to GrepCode? Check out our FAQ X