public JavaFormatter(String lineDelimiter,int initialIndentLevel,boolean useCodeFormatter,IJavaProject project){
  fLineDelimiter=lineDelimiter;
  fUseCodeFormatter=useCodeFormatter;
  fInitialIndentLevel=initialIndentLevel;
  fProject=project;
}

public JavaFormatter ( String lineDelimiter , int initialIndentLevel , boolean useCodeFormatter , IJavaProject project ) { fLineDelimiter = lineDelimiter ; fUseCodeFormatter = useCodeFormatter ; fInitialIndentLevel = initialIndentLevel ; fProject = project ; }
creates a javaformatter with the target line delimiter .
