Java Doc for InformationHelper.java in  » Database-Client » dbmjui » fr » aliacom » dbmjui » components » information » 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 » Database Client » dbmjui » fr.aliacom.dbmjui.components.information 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   fr.aliacom.dbmjui.components.information.InformationHelper

InformationHelper
public class InformationHelper implements IInformationHelper(Code)
Some utility functions to parse the output from the dbm info commands. Those functions turns the string output into ArrayList of JavaBeans.
author:
   tom
author:
   (c) 2001, 2003 Thomas Cataldo



Constructor Summary
public  InformationHelper()
    

Method Summary
public  ArrayListgetCachesInfo(DbInstance dbi)
    
public  ArrayListgetDataInfo(DbInstance dbi)
    
public  ArrayListgetIOInfo(DbInstance dbi)
    
protected  ArrayListgetInfoAsStrings(String info, String separatorChar)
     Parses the output of any of the info command, and turns it into an ArrayList of String arrays. Each the string array element is a field for the info command.
public  ArrayListgetLocksInfo(DbInstance dbi)
    
public  ArrayListgetLogsInfo(DbInstance dbi)
    
public  ArrayListgetSessionsInfo(DbInstance dbi)
    
public  ArrayListgetVersionsInfo(DbInstance dbi)
    
protected  ArrayListparseCachesInfo(String info)
     Parses the "info caches" output and turns it CacheInfoEntry beans.
protected  ArrayListparseDataInfo(String info)
     Parses the "info data" output and turns it DataInfoEntry beans.
protected  ArrayListparseIOInfo(String info)
     Parses the "info io" output and turns it IOInfoEntry beans.
protected  ArrayListparseLocksInfo(String info)
     Parses the "info locks" output and turns it LockInfoEntry beans.
protected  ArrayListparseLogsInfo(String info)
     Parses the "info log" output and turns it LogInfoEntry beans.
protected  ArrayListparseSessionsInfo(String info)
     Parses the "info caches" output and turns it CacheInfoEntry beans.
protected  ArrayListparseVersionsInfo(String info)
     Parses the "info version" output and turns it VersionInfoEntry beans.


Constructor Detail
InformationHelper
public InformationHelper()(Code)




Method Detail
getCachesInfo
public ArrayList getCachesInfo(DbInstance dbi)(Code)



getDataInfo
public ArrayList getDataInfo(DbInstance dbi)(Code)



getIOInfo
public ArrayList getIOInfo(DbInstance dbi)(Code)



getInfoAsStrings
protected ArrayList getInfoAsStrings(String info, String separatorChar)(Code)
Parses the output of any of the info command, and turns it into an ArrayList of String arrays. Each the string array element is a field for the info command. Whitespaces at the end are trimmed.
Parameters:
  info -
Parameters:
  separatorChar - the separator used between the info fields an ArrayList<String[]>



getLocksInfo
public ArrayList getLocksInfo(DbInstance dbi)(Code)



getLogsInfo
public ArrayList getLogsInfo(DbInstance dbi)(Code)



getSessionsInfo
public ArrayList getSessionsInfo(DbInstance dbi)(Code)



getVersionsInfo
public ArrayList getVersionsInfo(DbInstance dbi)(Code)



parseCachesInfo
protected ArrayList parseCachesInfo(String info)(Code)
Parses the "info caches" output and turns it CacheInfoEntry beans.
Parameters:
  info - the output of "info caches" command an ArrayList of CacheInfoEntry beans.



parseDataInfo
protected ArrayList parseDataInfo(String info)(Code)
Parses the "info data" output and turns it DataInfoEntry beans.
Parameters:
  info - the output of "info data" command an ArrayList of DataInfoEntry beans.



parseIOInfo
protected ArrayList parseIOInfo(String info)(Code)
Parses the "info io" output and turns it IOInfoEntry beans.
Parameters:
  info - the output of "info io" command an ArrayList of IOInfoEntry beans.



parseLocksInfo
protected ArrayList parseLocksInfo(String info)(Code)
Parses the "info locks" output and turns it LockInfoEntry beans.
Parameters:
  info - the output of "info locks" command an ArrayList of LockInfoEntry beans.



parseLogsInfo
protected ArrayList parseLogsInfo(String info)(Code)
Parses the "info log" output and turns it LogInfoEntry beans.
Parameters:
  info - the output of "info log" command an ArrayList of LogInfoEntry beans.



parseSessionsInfo
protected ArrayList parseSessionsInfo(String info)(Code)
Parses the "info caches" output and turns it CacheInfoEntry beans.
Parameters:
  info - the output of "info caches" command an ArrayList of CacheInfoEntry beans.



parseVersionsInfo
protected ArrayList parseVersionsInfo(String info)(Code)
Parses the "info version" output and turns it VersionInfoEntry beans.
Parameters:
  info - the output of "info caches" command an ArrayList of VersionInfoEntry beans.



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.