Java Doc for TestPrettyPrintFile.java in  » UML » jrefactory » org » acm » seguin » pretty » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » UML » jrefactory » org.acm.seguin.pretty 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.acm.seguin.pretty.PrettyPrintFile
      org.acm.seguin.pretty.TestPrettyPrintFile

TestPrettyPrintFile
class TestPrettyPrintFile extends PrettyPrintFile (Code)
Testing tool that creates a pretty print file that can be instrumented to update the print data object.
author:
   Chris Seguin



Constructor Summary
public  TestPrettyPrintFile()
    

Method Summary
protected  PrintDatagetPrintData(File input)
    
public  voidsetAbsoluteSpace(int value)
    
public  voidsetAlignStarsWithSlash(boolean value)
    
public  voidsetArrayInitializerIndented(boolean value)
    
public  voidsetBangSpace(boolean value)
    
public  voidsetCStyle(int value)
    
public  voidsetCStyleIndent(int value)
    
public  voidsetCStyleOwnline(boolean ownline)
    
public  voidsetCaseIndent(int value)
    
public  voidsetCastSpace(boolean value)
    
public  voidsetClassBlockStyle(int value)
    
public  voidsetCodeBlockStyle(int value)
    
public  voidsetDocumentNestedClasses(boolean value)
    
public  voidsetDynamicFieldSpacing(int value)
    
public  voidsetElseOnNewLine(boolean value)
    
public  voidsetEmptyBlockOnSingleLine(boolean value)
    
public  voidsetExceptionTag(String value)
    
public  voidsetExpressionSpace(boolean value)
    
public  voidsetExtendsIndentation(int value)
    
public  voidsetForceBlock(boolean value)
    
public  voidsetImplementsIndentation(int value)
    
public  voidsetImportSortImportant(String[] newImportSortImportant)
    
public  voidsetImportSortNeighbourhood(int newImportSortNeighbourhood)
    
public  voidsetIndentBracesInitializer(boolean way)
    
public  voidsetIndentInInitializer(boolean value)
    
public  voidsetInsertSpaceLocalVariables(boolean value)
    
public  voidsetJavadocWordWrapMaximum(int wrap)
    
public  voidsetJavadocWordWrapMinimum(int wrap)
    
public  voidsetKeepAll(boolean value)
    
public  voidsetKeepErroneousJavadocTags(boolean value)
    
public  voidsetLineBeforeClassBody(boolean value)
    
public  voidsetLineBeforeExtends(boolean value)
    
public  voidsetLineBeforeImplements(boolean value)
    
public  voidsetLineBeforeMultistatementMethodBody(boolean value)
    
public  voidsetLineUpParams(boolean value)
    
public  voidsetLinesAfterPackage(int value)
    
public  voidsetLinesBeforeClass(int value)
    
public  voidsetMaintainNewlinesAroundImports(boolean value)
    
public  voidsetMethodBlockStyle(int value)
    
public  voidsetModifierOrder(int value)
    
public  voidsetMultipleOrdering(MultipleOrdering value)
    
public  voidsetParamDescr(String paramDescr)
    
public  voidsetReformatComments(boolean value)
    
public  voidsetRemoveExcessBlocks(boolean value)
    
public  voidsetSingleLineCommentOwnline(boolean value)
    
public  voidsetSingleLineCommentOwnlineCode(boolean value)
    
public  voidsetSingleLineCommentSharedIncremental(boolean value)
    
public  voidsetSingleLineCommentStandardIndent(boolean value)
    
public  voidsetSingleLineIndent(int value)
    
public  voidsetSingleLineJavadocs(boolean value)
    
public  voidsetSortExtendsStatement(boolean sortExtendsStatement)
    
public  voidsetSortImplementsStatement(boolean sortImplementsStatement)
    
public  voidsetSortThrowsStatement(boolean sortThrowsStatement)
    
public  voidsetSortTop(boolean value)
    
public  voidsetSpaceAfterKeyword(boolean way)
    
public  voidsetSpaceAfterMethod(boolean way)
    
public  voidsetSpaceAroundOperators(boolean way)
    
public  voidsetSpaceInsideCast(boolean way)
    
public  voidsetVariablesAlignWithBlock(boolean value)
    


Constructor Detail
TestPrettyPrintFile
public TestPrettyPrintFile()(Code)
Constructor for the TestPrettyPrintFile object




Method Detail
getPrintData
protected PrintData getPrintData(File input)(Code)
Return the appropriate print data
Parameters:
  input - Description of Parameter the print data



setAbsoluteSpace
public void setAbsoluteSpace(int value)(Code)
Sets the AbsoluteSpace attribute of the TestPrettyPrintFile object
Parameters:
  value - The new AbsoluteSpace value



setAlignStarsWithSlash
public void setAlignStarsWithSlash(boolean value)(Code)



setArrayInitializerIndented
public void setArrayInitializerIndented(boolean value)(Code)



setBangSpace
public void setBangSpace(boolean value)(Code)



setCStyle
public void setCStyle(int value)(Code)
Sets the CStyle attribute of the TestPrettyPrintFile object
Parameters:
  value - The new CStyle value



setCStyleIndent
public void setCStyleIndent(int value)(Code)
Sets the CStyleIndent attribute of the TestPrettyPrintFile object
Parameters:
  value - The new CStyleIndent value



setCStyleOwnline
public void setCStyleOwnline(boolean ownline)(Code)



setCaseIndent
public void setCaseIndent(int value)(Code)



setCastSpace
public void setCastSpace(boolean value)(Code)
Sets the CastSpace attribute of the TestPrettyPrintFile object
Parameters:
  value - The new CastSpace value



setClassBlockStyle
public void setClassBlockStyle(int value)(Code)



setCodeBlockStyle
public void setCodeBlockStyle(int value)(Code)



setDocumentNestedClasses
public void setDocumentNestedClasses(boolean value)(Code)
Sets the DocumentNestedClasses attribute of the TestPrettyPrintFile object
Parameters:
  value - The new DocumentNestedClasses value



setDynamicFieldSpacing
public void setDynamicFieldSpacing(int value)(Code)
Sets the DynamicFieldSpacing attribute of the TestPrettyPrintFile object
Parameters:
  value - The new DynamicFieldSpacing value



setElseOnNewLine
public void setElseOnNewLine(boolean value)(Code)



setEmptyBlockOnSingleLine
public void setEmptyBlockOnSingleLine(boolean value)(Code)



setExceptionTag
public void setExceptionTag(String value)(Code)



setExpressionSpace
public void setExpressionSpace(boolean value)(Code)
Sets the ExpressionSpace attribute of the TestPrettyPrintFile object
Parameters:
  value - The new ExpressionSpace value



setExtendsIndentation
public void setExtendsIndentation(int value)(Code)



setForceBlock
public void setForceBlock(boolean value)(Code)
Sets the ForceBlock attribute of the TestPrettyPrintFile object
Parameters:
  value - The new ForceBlock value



setImplementsIndentation
public void setImplementsIndentation(int value)(Code)



setImportSortImportant
public void setImportSortImportant(String[] newImportSortImportant)(Code)



setImportSortNeighbourhood
public void setImportSortNeighbourhood(int newImportSortNeighbourhood)(Code)



setIndentBracesInitializer
public void setIndentBracesInitializer(boolean way)(Code)



setIndentInInitializer
public void setIndentInInitializer(boolean value)(Code)



setInsertSpaceLocalVariables
public void setInsertSpaceLocalVariables(boolean value)(Code)



setJavadocWordWrapMaximum
public void setJavadocWordWrapMaximum(int wrap)(Code)



setJavadocWordWrapMinimum
public void setJavadocWordWrapMinimum(int wrap)(Code)



setKeepAll
public void setKeepAll(boolean value)(Code)
Sets the KeepAll attribute of the TestPrettyPrintFile object
Parameters:
  value - The new KeepAll value



setKeepErroneousJavadocTags
public void setKeepErroneousJavadocTags(boolean value)(Code)



setLineBeforeClassBody
public void setLineBeforeClassBody(boolean value)(Code)



setLineBeforeExtends
public void setLineBeforeExtends(boolean value)(Code)



setLineBeforeImplements
public void setLineBeforeImplements(boolean value)(Code)



setLineBeforeMultistatementMethodBody
public void setLineBeforeMultistatementMethodBody(boolean value)(Code)



setLineUpParams
public void setLineUpParams(boolean value)(Code)



setLinesAfterPackage
public void setLinesAfterPackage(int value)(Code)



setLinesBeforeClass
public void setLinesBeforeClass(int value)(Code)



setMaintainNewlinesAroundImports
public void setMaintainNewlinesAroundImports(boolean value)(Code)



setMethodBlockStyle
public void setMethodBlockStyle(int value)(Code)



setModifierOrder
public void setModifierOrder(int value)(Code)



setMultipleOrdering
public void setMultipleOrdering(MultipleOrdering value)(Code)



setParamDescr
public void setParamDescr(String paramDescr)(Code)



setReformatComments
public void setReformatComments(boolean value)(Code)
Sets the ReformatComments attribute of the TestPrettyPrintFile object
Parameters:
  value - The new ReformatComments value



setRemoveExcessBlocks
public void setRemoveExcessBlocks(boolean value)(Code)



setSingleLineCommentOwnline
public void setSingleLineCommentOwnline(boolean value)(Code)
Sets the SingleLineCommentOwnline attribute of the TestPrettyPrintFile object
Parameters:
  value - The new SingleLineCommentOwnline value



setSingleLineCommentOwnlineCode
public void setSingleLineCommentOwnlineCode(boolean value)(Code)
Sets the SingleLineCommentOwnlineCode attribute of the TestPrettyPrintFile object
Parameters:
  value - The new SingleLineCommentOwnlineCode value



setSingleLineCommentSharedIncremental
public void setSingleLineCommentSharedIncremental(boolean value)(Code)
Sets the SingleLineCommentSharedIncremental attribute of the TestPrettyPrintFile object
Parameters:
  value - The new SingleLineCommentSharedIncremental value



setSingleLineCommentStandardIndent
public void setSingleLineCommentStandardIndent(boolean value)(Code)
Sets the SingleLineCommentStandardIndent attribute of the TestPrettyPrintFile object
Parameters:
  value - The new SingleLineCommentStandardIndent value



setSingleLineIndent
public void setSingleLineIndent(int value)(Code)
Sets the SingleLineIndent attribute of the TestPrettyPrintFile object
Parameters:
  value - The new SingleLineIndent value



setSingleLineJavadocs
public void setSingleLineJavadocs(boolean value)(Code)



setSortExtendsStatement
public void setSortExtendsStatement(boolean sortExtendsStatement)(Code)



setSortImplementsStatement
public void setSortImplementsStatement(boolean sortImplementsStatement)(Code)



setSortThrowsStatement
public void setSortThrowsStatement(boolean sortThrowsStatement)(Code)



setSortTop
public void setSortTop(boolean value)(Code)



setSpaceAfterKeyword
public void setSpaceAfterKeyword(boolean way)(Code)



setSpaceAfterMethod
public void setSpaceAfterMethod(boolean way)(Code)



setSpaceAroundOperators
public void setSpaceAroundOperators(boolean way)(Code)



setSpaceInsideCast
public void setSpaceInsideCast(boolean way)(Code)



setVariablesAlignWithBlock
public void setVariablesAlignWithBlock(boolean value)(Code)



Methods inherited from org.acm.seguin.pretty.PrettyPrintFile
public void apply(File inputFile)(Code)(Java Doc)
public void apply(File inputFile, SimpleNode root)(Code)(Java Doc)
public ParserFactory getParserFactory()(Code)(Java Doc)
protected PrintData getPrintData(File input)(Code)(Java Doc)
protected Writer getWriter(File file)(Code)(Java Doc)
public boolean isApplicable(File inputFile)(Code)(Java Doc)
protected void postApply(File inputFile, SimpleNode root)(Code)(Java Doc)
public void setAsk(boolean way)(Code)(Java Doc)
public void setParserFactory(ParserFactory factory)(Code)(Java Doc)

Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.