com.octagroup.foregej
Class Settings

java.lang.Object
  |
  +--com.octagroup.foregej.Settings

public class Settings
extends java.lang.Object

These are the settings used when crunching java source files.


Constructor Summary
Settings()
           
 
Method Summary
static int getIndentation()
          Returns the indentation depth.
static java.lang.String getLineEnding()
          Returns the line ending used. This method returns "\r", "\n" or "\r\n".
static int getLineLength()
          Returns the preferred line length.
static boolean getSortJTags()
          Returns true if the java tags should be sorted.
static void setLineLength(int i)
          Sets the length of a line before foregej starts to perform wrapping.
static void setSortJTags_s(boolean b)
          Specifies if the java tags should be sorted.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Settings

public Settings()
Method Detail

getLineEnding

public static java.lang.String getLineEnding()
Returns the line ending used.

This method returns "\r", "\n" or "\r\n".

Returns:
the preferred line ending

getIndentation

public static int getIndentation()
Returns the indentation depth.

Returns:
the indentation depth.

getSortJTags

public static boolean getSortJTags()
Returns true if the java tags should be sorted.

This method will probaly be replaced with one that returns the comparator to use.

Returns:
true if the j tags should be sorted.

setSortJTags_s

public static void setSortJTags_s(boolean b)
Specifies if the java tags should be sorted.
Parameters:
b - should the java tags be sorted?

getLineLength

public static int getLineLength()
Returns the preferred line length.
Returns:
preferred line length.

setLineLength

public static void setLineLength(int i)
Sets the length of a line before foregej starts to perform wrapping.
Parameters:
i - the length of the lines before any wrapping occurr.


Copyright © 2003 El Icognito des Noboby. All Rights Reserved.