Java Doc for CharSepLE.java in  » Report » datavision-1.1.0 » jimm » datavision » layout » 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 » Report » datavision 1.1.0 » jimm.datavision.layout 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   jimm.datavision.layout.LayoutEngine
      jimm.datavision.layout.SortedLayoutEngine
         jimm.datavision.layout.CharSepLE

CharSepLE
public class CharSepLE extends SortedLayoutEngine (Code)
CharSepLE is a layout engine that outputs text data files. Output is one line per row of data. Column data is separated by a user-specified character.
author:
   Jim Menard, jimm@io.com


Field Summary
protected  booleanfirst
    
protected  charsepChar
    

Constructor Summary
public  CharSepLE(PrintWriter out, char sepChar)
     Constructor.

Method Summary
protected  StringasSafeSepString(String str)
     Return a string that's safe to use in a comma-delimited data file. Returns a new string with all double quotes replaced by two double quotes.
protected  voiddoOutputField(Field field)
     This override handles output of a field.
protected  voiddoOutputImage(ImageField image)
    
protected  voiddoOutputLine(Line line)
     Ignores line output.
protected  voiddoOutputSection(Section sect)
     This override handles output of a section.

Field Detail
first
protected boolean first(Code)



sepChar
protected char sepChar(Code)




Constructor Detail
CharSepLE
public CharSepLE(PrintWriter out, char sepChar)(Code)
Constructor.
Parameters:
  out - the output writer
Parameters:
  sepChar - the character used to separate column data




Method Detail
asSafeSepString
protected String asSafeSepString(String str)(Code)
Return a string that's safe to use in a comma-delimited data file. Returns a new string with all double quotes replaced by two double quotes. If there are any double quotes, commas, or newlines in the string, the returned string will be surrounded by double quotes.
Parameters:
  str - a string to be used in a comma-delimited data file a new string that's safe for use in a comma-delimited data file



doOutputField
protected void doOutputField(Field field)(Code)
This override handles output of a field.
Parameters:
  field - a field



doOutputImage
protected void doOutputImage(ImageField image)(Code)



doOutputLine
protected void doOutputLine(Line line)(Code)
Ignores line output.
Parameters:
  line - a line



doOutputSection
protected void doOutputSection(Section sect)(Code)
This override handles output of a section.
Parameters:
  sect - section



Fields inherited from jimm.datavision.layout.SortedLayoutEngine
protected Comparator comp(Code)(Java Doc)
protected HashMap sectionFields(Code)(Java Doc)

Methods inherited from jimm.datavision.layout.SortedLayoutEngine
protected Object[] buildSectionFields(Section sect)(Code)(Java Doc)
protected void doOutputSection(Section sect)(Code)(Java Doc)

Fields inherited from jimm.datavision.layout.LayoutEngine
final public static int POINTS_PER_INCH(Code)(Java Doc)
final protected static int SECT_DETAIL(Code)(Java Doc)
final protected static int SECT_GROUP_FOOTER(Code)(Java Doc)
final protected static int SECT_GROUP_HEADER(Code)(Java Doc)
final protected static int SECT_PAGE_FOOTER(Code)(Java Doc)
final protected static int SECT_PAGE_HEADER(Code)(Java Doc)
final protected static int SECT_REPORT_FOOTER(Code)(Java Doc)
final protected static int SECT_REPORT_HEADER(Code)(Java Doc)
protected Section currentSection(Code)(Java Doc)
protected boolean newPage(Code)(Java Doc)
protected PrintWriter out(Code)(Java Doc)
protected double pageHeight(Code)(Java Doc)
protected double pageHeightUsed(Code)(Java Doc)
protected int pageNumber(Code)(Java Doc)
protected double pageWidth(Code)(Java Doc)
protected int previousSectionArea(Code)(Java Doc)
protected Report report(Code)(Java Doc)
protected boolean wantsMoreData(Code)(Java Doc)

Methods inherited from jimm.datavision.layout.LayoutEngine
protected double calcDetailHeight()(Code)(Java Doc)
protected double calcPageFooterHeight()(Code)(Java Doc)
protected double calcReportFooterHeight()(Code)(Java Doc)
protected double calcSectionHeights(SectionArea area)(Code)(Java Doc)
public void cancel()(Code)(Java Doc)
protected void checkRemainingPageLength(boolean isLastRow, boolean includeDetail)(Code)(Java Doc)
protected void closeOutput()(Code)(Java Doc)
protected String currentSectionTypeAsString()(Code)(Java Doc)
public void detail(boolean isLastRow)(Code)(Java Doc)
protected void doEnd()(Code)(Java Doc)
protected void doEndPage()(Code)(Java Doc)
abstract protected void doOutputField(Field field)(Code)(Java Doc)
abstract protected void doOutputImage(ImageField image)(Code)(Java Doc)
abstract protected void doOutputLine(Line line)(Code)(Java Doc)
protected void doOutputSection(Section sect)(Code)(Java Doc)
protected void doStart()(Code)(Java Doc)
protected void doStartPage()(Code)(Java Doc)
public void end()(Code)(Java Doc)
protected void endPage(boolean isLastPage)(Code)(Java Doc)
public void groupFooters(boolean isLastRow)(Code)(Java Doc)
public void groupHeaders(boolean isLastRow)(Code)(Java Doc)
protected void outputField(Field field)(Code)(Java Doc)
protected void outputImage(ImageField image)(Code)(Java Doc)
protected void outputLine(Line line)(Code)(Java Doc)
protected void outputSection(Section sect, int which)(Code)(Java Doc)
public double pageHeight()(Code)(Java Doc)
public int pageNumber()(Code)(Java Doc)
public double pageWidth()(Code)(Java Doc)
public void setReport(Report r)(Code)(Java Doc)
public void start()(Code)(Java Doc)
protected void startPage()(Code)(Java Doc)
public boolean wantsMoreData()(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.