`
文章列表
1.  Knowledge:    nohup: we can use that command to run job in the background.  remember the last '&' start managed weblogic: connect using HTTP protocal, the user/pwd passed to command line using: -Dweblogic.management.username=$2 -Dweblogic.management.password=$3 stop managed weblogic: co ...

XML file paser sample

    博客分类:
  • Java
//从XML文件中读取信息,并写入fw. private void processFile(File file, FileWriter fw) throws Exception {     String sObject = "";     String dObject = "";     String sCondition = "";     String dCondition = "";     String sCardinality = "";     String dCardi ...
  private void process(String path, FileWriter fw) throws Exception {     FilenameFilter filter = new FilenameFilter() {       public boolean accept(File dir, String name) {         return name.endsWith(".xml");       }     };     File dir = new File(path);     String[] children = ...
Here are 4 types of nested class. static member class none-static member class anonymous class local class   Anonymous Class & Local Class: Both are defined inside method or constructor of enclosing class. If the class belongs inside a method/constructor, if you need to create ins ...
Report table columns and comments: select tc.table_name, tc.column_name, tc. data_type, tc.nullable, nullif(cc.comments, '') from all_tab_columns tc, all_col_comments cc where tc.owner = cc.owner and tc.column_name = cc.column_name and tc.table_name = cc.table_name and tc.owner = 'OSL' and tc.table_n ...
Global site tag (gtag.js) - Google Analytics