Java Doc for Toolkit.java in  » Workflow-Engines » pegasus-2.1.0 » org » griphyn » vdl » toolkit » 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 » Workflow Engines » pegasus 2.1.0 » org.griphyn.vdl.toolkit 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.griphyn.vdl.toolkit.Toolkit

All known Subclasses:   org.griphyn.vdl.toolkit.DeleteMeta,  org.griphyn.vdl.toolkit.XSearchVDC,  org.griphyn.vdl.toolkit.Planner,  org.griphyn.vdl.toolkit.VDLx2VDLt,  org.griphyn.vdl.toolkit.SearchMeta,  org.griphyn.vdl.toolkit.VDLtConv,  org.griphyn.vdl.invocation.SimpleServer,  org.griphyn.vdl.toolkit.ShowMeta,  org.griphyn.vdl.toolkit.GetDAX,  org.griphyn.common.catalog.toolkit.RCClient,  org.griphyn.vdl.router.ToText,  org.griphyn.vdl.toolkit.VizDAX2,  org.griphyn.vdl.toolkit.DeleteVDC,  org.griphyn.vdl.router.ToDAG,  org.griphyn.vdl.toolkit.VizDAX,  org.griphyn.vdl.toolkit.SearchVDC,  org.griphyn.vdl.toolkit.VDLHelper,  org.griphyn.vdl.toolkit.TestProps,  org.griphyn.vdl.toolkit.InsertMeta,  org.griphyn.vdl.toolkit.ExitCode,
Toolkit
abstract public class Toolkit (Code)
This class is the base class for other toolkits. It provides basical common functions, to be extended, used or restricted by siblings as necessary.
author:
   Jens-S. Vöckler
author:
   Yong Zhao
version:
   $Revision: 50 $
See Also:   org.griphyn.vdl.util.Logging
See Also:   org.griphyn.vdl.util.ChimeraProperties
See Also:   org.griphyn.vdl.dbschema.DatabaseSchema


Field Summary
protected  Stringm_application
    
protected  Stringm_home
     Stores the name of the home directory for the Chimera system.
protected  Loggingm_logger
    
protected  ChimeraPropertiesm_props
    
protected  intm_verbosity
     Stores the verbosity level of the app logging queue.

Constructor Summary
public  Toolkit(String appName)
     Default ctor: Sets up the system
Parameters:
  appName - is the name of the shell wrapper with which to report.
public  Toolkit(String appName, int verbosity)
     Default ctor: Sets up the system
Parameters:
  appName - is the name of the shell wrapper with which to report.

Method Summary
public  intgetVerbosity()
     Helper function to obtain the verbosity level of the app logging queue.
public  intincreaseVerbosity()
     Helper function to increase the verbosity level of the app logging queue using the internal verbosity state.
protected  intreadFile(String fn, Collection list)
     This helper method reads lines from a file and add non-empty, no-comment lines to a collection of lines.
public  voidsetVerbosity(int verbosity)
     Helper function to set the verbosity level of the app logging queue.
abstract public  voidshowUsage()
     Prints the short usage string onto stdout.

Field Detail
m_application
protected String m_application(Code)
Stores the name of the application as which this one was run



m_home
protected String m_home(Code)
Stores the name of the home directory for the Chimera system.



m_logger
protected Logging m_logger(Code)
Stores the logging instance



m_props
protected ChimeraProperties m_props(Code)
Maintains an application specific set of properties



m_verbosity
protected int m_verbosity(Code)
Stores the verbosity level of the app logging queue.




Constructor Detail
Toolkit
public Toolkit(String appName)(Code)
Default ctor: Sets up the system
Parameters:
  appName - is the name of the shell wrapper with which to report.



Toolkit
public Toolkit(String appName, int verbosity)(Code)
Default ctor: Sets up the system
Parameters:
  appName - is the name of the shell wrapper with which to report.
Parameters:
  verbosity - sets the verbosity level of the "app" logging queue.




Method Detail
getVerbosity
public int getVerbosity()(Code)
Helper function to obtain the verbosity level of the app logging queue. the verbosity level as non-negative integer, or -1 forerror.
See Also:   Toolkit.setVerbosity(int)
See Also:   Toolkit.increaseVerbosity()



increaseVerbosity
public int increaseVerbosity()(Code)
Helper function to increase the verbosity level of the app logging queue using the internal verbosity state. the new verbosity level
See Also:   Toolkit.setVerbosity(int)
See Also:   Toolkit.getVerbosity()



readFile
protected int readFile(String fn, Collection list) throws IOException(Code)
This helper method reads lines from a file and add non-empty, no-comment lines to a collection of lines. Invoke with a set to prohibit duplicates, or with a list to permit duplicates.
Parameters:
  fn - is the name of the file to read.
Parameters:
  list - is the container to add lines to number of items read.
throws:
  IOException - if any file operation failed.



setVerbosity
public void setVerbosity(int verbosity)(Code)
Helper function to set the verbosity level of the app logging queue.
Parameters:
  verbosity - is the new verbosity level
See Also:   Toolkit.getVerbosity()
See Also:   Toolkit.increaseVerbosity()



showUsage
abstract public void showUsage()(Code)
Prints the short usage string onto stdout. No exiting. The application name is maintained by the c'tor.



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.