`
文章列表
public static void main(String[] args) {     File file = new File("Test.xls");     try {     FileInputStream fis = new FileInputStream(file); POIFSFileSystem POIStream = new POIFSFileSystem(fis); HSSFWorkbook workBook = new HSSFWorkbook(POIStream); HSSFSheet sheet = workBook.ge ...
public static void main(String[] args){     String setMethodName = "setinstitution";     String currCellString = "pending";         Class c; try { c = Class.forName("User"); Object o = c.newInstance(); Method[] methods = c.getMethods(); for (Method met ...
01.package com.jetsum.util;  02.  03.import java.io.StringReader;  04.import java.lang.reflect.Field;  05.import java.util.ArrayList;  06.import java.util.List;  07.import java.util.Map;  08.import java.util.Set;  09.  10.import antlr.RecognitionException;  11.import antlr.TokenStreamExcept ...
spring jdbc 获取 clob: String sql = "select * from user where rownum = 1"; logger.debug("sql: " + sql); final LobHandler lobHandler = new OracleLobHandler(); List userList = jdbcTemplateAsd.query(sql,           new RowMapper() {             public Object mapRow(ResultSe ...
db2 driver jar file
testtest
testest

SWTBrowserUseful

    博客分类:
  • Java
/******************************************************************************* * All Right Reserved. Copyright (c) 1998, 2004 Jackwind Li Guojie * * Created on 2004-4-10 1:15:03 by JACK $Id$ * ******************************************************************************/ impo ...

antlr ques

    博客分类:
  • Java
if end if conficlit with begin .. end id; debug skill can't match body pHeaderDecl : 'CREATE' 'OR' 'REPLACE' 'PACKAGE' qualifiedName .*? 'END' ID ';' '/'? ; pBodyDecl : 'CREATE' 'OR' 'REPLACE' 'PACKAGE' 'BODY' qualifiedName 'AS' funcDecl* spDecl* 'END' ID ';' '/'? ;
build.bat antlr4 Cymbol.g4 javac *.java run Cymbol file -gui test1.sp dot -Tpng dot.gv -o dot.png g4 /** Simple statically-typed programming language with functions and variables * taken from "Language Implementation Patterns" book. */ grammar Cymbol; file: packageDec ...

SWT embed IE

    博客分类:
  • Java
/* * Reading and writing to a SAFEARRAY * * This example reads from a PostData object in a BeforeNavigate2 event and * creates a PostData object in a call to Navigate. * * For a list of all SWT example snippets see * http://dev.eclipse.org/viewcvs/index.cgi/%7Echeckout%7E/platform-s ...
testtest
testeste
testetest
testest
Global site tag (gtag.js) - Google Analytics