Java Doc for DBUtil.java in  » Portal » Open-Portal » com » sun » portal » search » admin » util » 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 » Portal » Open Portal » com.sun.portal.search.admin.util 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   com.sun.portal.search.admin.util.DBUtil

DBUtil
public class DBUtil (Code)


Field Summary
static  StringRUN_CS_CLI
    
static  StringRUN_CS_CLI_BAT
    
final public static  StringSTAT_HREF
    
final public static  StringSTAT_HREF_COUNT
    
final public static  StringSTAT_LAST_MODIFIED
    
final public static  StringSTAT_NB_PROTOCOL
    
final public static  StringSTAT_NB_SERVER
    
final public static  StringSTAT_PROTOCOL
    
final public static  StringSTAT_PROTOCOL_COUNT
    
static  HashMapdbList
    
public static  SimpleDateFormatdf
    
static  StringgetListCmd
    
static  StringgetRDCountCmd
    
static  HashMaplastUpdated
    

Constructor Summary
public  DBUtil()
    

Method Summary
public static synchronized  booleanaddNewDB(String server_root, String dbName, String dbTitle, String dbDesc)
    
public static  booleandbStatOnFile(String server_root, String dbname)
    
public static  booleandeleteDatabase(String server_root, String dbname, Writer out)
    
public static  Processexec(String command)
    
static synchronized  booleanexecuteRDMgr(String cmd, Writer out)
    
static synchronized  BufferedReaderexecuteRDMgr(String cmd)
    
public static  booleanexpireDatabase(String server_root, String dbname, Writer out)
    
public static  ListgetDBList(String server_root)
    
public static  SOIFgetDBSoif(String server_root, String dbName)
    
public static  String[]getDBStringArray(String server_root)
    
public static  intgetRDCount(String server_root, String dbname)
    
public static  booleanindexCategories(String server_root)
    
public static synchronized  booleanisDBExist(String server_root, String dbName)
    
public static  booleanisWindows()
    
public static  booleanpurgeDatabase(String server_root, String dbname, Writer out)
    
public static  booleanreindexDatabase(String server_root, String dbname, Writer out)
    
public static  booleanreplaceSoif(String server_root, SOIF s)
    
public static synchronized  booleanupdateDB(String server_root, String dbName, String dbTitle, String dbDesc)
    
public static synchronized  booleanupdateDB(String server_root, String dbName, Date timeStamp, Hashtable listServer, Hashtable listProtocol)
    
public static  booleanupdateSoif(String server_root, SOIF s)
    
public static  BufferedReaderurlStatDatabase(String server_root, String dbname)
    

Field Detail
RUN_CS_CLI
static String RUN_CS_CLI(Code)



RUN_CS_CLI_BAT
static String RUN_CS_CLI_BAT(Code)



STAT_HREF
final public static String STAT_HREF(Code)



STAT_HREF_COUNT
final public static String STAT_HREF_COUNT(Code)



STAT_LAST_MODIFIED
final public static String STAT_LAST_MODIFIED(Code)



STAT_NB_PROTOCOL
final public static String STAT_NB_PROTOCOL(Code)



STAT_NB_SERVER
final public static String STAT_NB_SERVER(Code)



STAT_PROTOCOL
final public static String STAT_PROTOCOL(Code)



STAT_PROTOCOL_COUNT
final public static String STAT_PROTOCOL_COUNT(Code)



dbList
static HashMap dbList(Code)



df
public static SimpleDateFormat df(Code)



getListCmd
static String getListCmd(Code)



getRDCountCmd
static String getRDCountCmd(Code)



lastUpdated
static HashMap lastUpdated(Code)




Constructor Detail
DBUtil
public DBUtil()(Code)




Method Detail
addNewDB
public static synchronized boolean addNewDB(String server_root, String dbName, String dbTitle, String dbDesc) throws Exception(Code)



dbStatOnFile
public static boolean dbStatOnFile(String server_root, String dbname)(Code)



deleteDatabase
public static boolean deleteDatabase(String server_root, String dbname, Writer out)(Code)



exec
public static Process exec(String command) throws IOException(Code)



executeRDMgr
static synchronized boolean executeRDMgr(String cmd, Writer out)(Code)



executeRDMgr
static synchronized BufferedReader executeRDMgr(String cmd)(Code)



expireDatabase
public static boolean expireDatabase(String server_root, String dbname, Writer out)(Code)



getDBList
public static List getDBList(String server_root) throws Exception(Code)



getDBSoif
public static SOIF getDBSoif(String server_root, String dbName)(Code)



getDBStringArray
public static String[] getDBStringArray(String server_root) throws Exception(Code)



getRDCount
public static int getRDCount(String server_root, String dbname) throws Exception(Code)



indexCategories
public static boolean indexCategories(String server_root)(Code)



isDBExist
public static synchronized boolean isDBExist(String server_root, String dbName) throws Exception(Code)



isWindows
public static boolean isWindows()(Code)



purgeDatabase
public static boolean purgeDatabase(String server_root, String dbname, Writer out)(Code)



reindexDatabase
public static boolean reindexDatabase(String server_root, String dbname, Writer out)(Code)



replaceSoif
public static boolean replaceSoif(String server_root, SOIF s)(Code)



updateDB
public static synchronized boolean updateDB(String server_root, String dbName, String dbTitle, String dbDesc) throws Exception(Code)



updateDB
public static synchronized boolean updateDB(String server_root, String dbName, Date timeStamp, Hashtable listServer, Hashtable listProtocol) throws Exception(Code)



updateSoif
public static boolean updateSoif(String server_root, SOIF s)(Code)



urlStatDatabase
public static BufferedReader urlStatDatabase(String server_root, String dbname)(Code)



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.