Sophie

Sophie

distrib > Mandriva > 2007.0 > i586 > media > contrib-release > by-pkgid > 081d536d372c5b499a273e5b6a4ec5a1 > files > 23

jrefactory-2.8.9-4.2mdv2007.0.i586.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
	<META HTTP-EQUIV="Content-Type" CONTENT="text/html;CHARSET=iso-8859-1">
	<TITLE>Software::Pretty Printer</TITLE>
</HEAD>
<BODY>
<P>
<TABLE BORDER="0">
	<TR>
		<TD WIDTH="150" ALIGN="LEFT" VALIGN="TOP" ROWSPAN="3" BGCOLOR="#DDDDDD">
			<IMG SRC="JRefactory.jpg" ALT="Author:  Mike Atkinson">
			<A HREF="chrissoft.html">Software</A> <BR>
			<UL>
			<LI> Pretty Printer<BR>
			<LI> <A HREF="csrefactory.html">JRefactory</A><BR>
			<LI> <A HREF="csprint.html">Printing</A> <BR>
			<LI> <A HREF="cselixirext.html">Elixir Extensions</A> <BR>
			<LI> <A HREF="cslineno.html">Line Numbering</A> <BR>
			<LI> <A HREF="csmetrics.html">Metrics</A> <BR>
			<LI> <A HREF="csstub.html">Stub Generator</A> <BR>
			<LI> <A HREF="csdevutil.html">Dev Utilities</A> <BR>
			<LI> <A HREF="csr-roadmap.html">Roadmap</A> <BR>
			<LI> <A HREF="csrtodo.html">Requested Features</A> <BR>
			</UL>
			<A HREF="csr-releasenotes.html">Release Notes</A> <BR>
			<A HREF="chrisdown.html"><B>Download</B></A> <BR>
			<B><A HREF="authors.html">Contributors</A></B> <BR>
		</TD>

		<TD WIDTH="35" ALIGN="LEFT" VALIGN="TOP">
			<P><A HREF="chrissoft.html"><IMG SRC="left.gif" WIDTH="30" HEIGHT="30" ALIGN="BOTTOM" ALT="Previous Page" BORDER="2"></A>
		</TD>
		<TD ALIGN="CENTER">
			<H2 ALIGN="CENTER">Software::Pretty Printer
		</TD>
		<TD WIDTH="35" ALIGN="RIGHT" VALIGN="TOP">
			<P ALIGN="RIGHT"><A HREF="cspide.html"><IMG SRC="right.gif" WIDTH="30" HEIGHT="30" ALIGN="BOTTOM" ALT="Next Page"
			BORDER="2"></A>
		</TD>
	</TR>
	<TR>
		<TD COLSPAN="3">
			<H3>PrettyPrinter</H3>

			<P>JavaStyle is a pretty printer for Java. It works either in an
         IDE, (e.g jEdit or JBuilder) or as an ant task. It reformats the 
         code and inserts javadoc comments where they are missing.</P>

			<P>This current version takes a look at the name of the method.
			If the method is a setter or getter, it takes an intelligent
			stab at filling in the javadoc comments, based on the name
			of the method, the class, and whether the method is static
			or not.</P>

			<P>If the method is named run or it appears to be the main
			program or it is a JUnit test harness, the javadoc comments
         are also generated appropriately.
			The exact words in the default descriptions for all methods
			are located in the <A HREF="csprettysettings.html">pretty.settings</A>
			file.</P>

			<P>This software is the ability to set the level of
			protection that the system inserts javadoc comments.  For
			instance, if the user of this program only wants javadoc
			comments for public methods and public fields, the user
			sets the method.minimum level to be public in the
			<A HREF="csprettysettings.html">pretty.settings</A>
			file.</P>

			<P>There is also sophisticated control over indentation, sorting
         of methods, fields, etc., comment placement, alignment and many
         other features of Java style.</P>

			<P>For jEdit, Netbeans, JBuilder and the Stand-alone application,
         this configuration editor is accessed via a menu item. The
         configuration tool knows about what projects are being worked on in
         the IDE and it allows separate settings for each project, all based
         on the settings of the "default" pseudo-project (fully working only
         for jEdit in Version 2.8).</P>

         <P>For people using JRefactory as a command
			line tool an older version of the configuration tool is available, the command line is:

			<BR><TT>java org.acm.seguin.tools.install.PrettyPrinterConfigGUI</TT> To
			use the GUI, adjust the values and select save from the
			menu.  When you save the file, it reformats the code in
			the right hand side.<P>

			<P>Alternatively, you can edit the
			<A HREF="csprettysettings.html">pretty.settings</A> file directly.
			The location of the <A HREF="csprettysettings.html">pretty.settings</A>
			file depends on the way
			you are using the pretty printer.  In general, it is in your home
			directory, perhaps in the <tt>.jedit</tt>, <tt>.jbuilder9</tt>, <tt>.netbeans</tt> or <tt>.Refactory</tt> directories</P>
		</TD>
	</TR>
	<TR>
		<TD WIDTH="35"><A HREF="chrissoft.html"><IMG SRC="left.gif" WIDTH="30" HEIGHT="30" ALIGN="BOTTOM" ALT="Previous Page" BORDER="2"></A></TD>
		<TD ALIGN="CENTER">
			<P ALIGN="CENTER"><FONT SIZE="2" COLOR="#AAAAAA">Last Modified: October 7, 2003</FONT>
		</TD>
		<TD WIDTH="35" ALIGN="RIGHT">
			<P ALIGN="RIGHT"><A HREF="cspide.html"><IMG SRC="right.gif" WIDTH="30" HEIGHT="30" ALIGN="BOTTOM" ALT="Previous Page"
			BORDER="2"></A>
		</TD>
	</TR>
</TABLE>
</BODY>
</HTML>