Projects tagged ‘java’ and ‘lib’


[11 total ]

0 Users

Some thing like, IdName KeyValue CaseInsensitiveMap LRUMap SearchClause is one of the highlight and so on
Created 12 months ago.

0 Users

a lib that i have developped or collected, with which i could accelerate development. The lib contains lots of catagories.
Created 11 months ago.

0 Users

an ajax-like web framework specialized on webmail service solution This is an ajax-like web framework specialized on webmail service solution. It is based on ajax principle, but dislike other normal ... [More] ajax framework. It focus on maximumly decrease the webservice and database interaction between client and remote server by applying RCP client via running predefined javascript functions on client browser. This tech. solution can make much better performance especially in webmail service case. Theoritically, it can make a much better performace and greatly decrease the service loading. Currently this work is under developing. The early tech. document will be uploading soon. Label team [Less]
Created 12 months ago.

0 Users

CoreNormal tools for common tasks ExtensionEnhancement of pop frameworks TestFor unit test No download, see svn
Created 4 months ago.

0 Users

an ajax-like web framework specialized on webmail service solution This is an ajax-like web framework specialized on webmail service solution. It is based on ajax principle, but dislike other normal ... [More] ajax framework. It focus on maximumly decrease the webservice and database interaction between client and remote server by applying RCP client via running predefined javascript functions on client browser. This tech. solution can make much better performance especially in webmail service case. Theoritically, it can make a much better performace and greatly decrease the service loading. Currently this work is under developing. The early tech. document will be uploading soon. Label team [Less]
Created 12 months ago.

0 Users

PROJETO Hosting ReleaseEsta não é a Home do projeto JRimum, este é apenas um Hosting Release, onde aqui são disponibilizadas as versões já prontas como milestones, versões beta, etc. Para ... [More] mais informações visite a Home, Trac ou o grupo do projeto. [Less]
Created 12 months ago.

0 Users

Tao thu vien java minh cam thay can thiet de dung
Created 3 months ago.

0 Users

some lib
Created 2 months ago.

0 Users

UrSQL: Data Storage for JavaUrSQL is a persistent storage API for Java Desktop Applications. Unlike other SQL variants, UrSQL doesn't require any kind of server or driver. It's usage is as simple as ... [More] storing data should be. Loading a database file is as easy as UrSQLController controller = new UrSQLController("database.udb");Writing Data to the DatabaseUrSQL stores entries as key value pairs. Groups of entries are called entities, each with a unique numerical ID. To create a new entity, which will store key-value entries: UrSQLEntity entity = controller.createEntity();Now, we can create a new entry: UrSQLEntry entry = new UrSQLEntry("key", "value");This entry now has the key/value pair "key: value". However, we have not specified what entity it belongs to yet. To do so: entity.addEntry(entry);Now, we can write our entry to the database: controller.writeEntry(entry);We could also write the entire entity to the database: controller.writeEntity(entity);Reading Data From the DatabaseUrSQL can search its database for particular entities and entries based on queries containing key/value pairs. For example, the following finds the entity where "key1" has a value of "value1" and "key2" has a value of "value2": UrSQLEntity entity = controller.getEntity("key1: value1; key2: value2");Notice that the colon (:) is used to separate keys and values, and the semi-colon (;) is used to separate key/value pairs. The spaces after the colon and semicolon are not necessary, but make the code a bit easier to read. Now, you can access individual entries from the entity with their key names: UrSQLEntry entry = entity.getEntry("key1");The entry object contains the entry's key and value, which can be accessed with: String key = entry.getKey(); String value = entry.getValue();Or, if you don't want to access an entire entity, you can also access a single entry using a query. This query uses known values in the same entity to search out the correct entry within the correct entity. For example, if we know that an entry with the key "key1" is contained in the same entity as an entry with the key "key2" and value "value2", then we can use the following: UrSQLEntry entry = controller.getEntry("key1", "key2: value2");Or, the second argument can be the actual UrSQLEntity that houses the desired entry. The entry can then be accessed and changed accordingly. Remember no data is actually written to the database until writeEntry or writeEntity is called by the controller object. [Less]
Created 12 months ago.

0 Users

提供一个简单易用的C++类Properties用以读写基于xml格式的配置文件, 从而实现类似java中Properties类的作用。两者生成的xml文件可以互通。 ... [More] Xml时代据说已经到来了,现在的程序流行使用xml配置文件。如果你 使用过java中的Properties类,你会发现它的方便。很多时候我们并不 需要多么庞大的类库,我们仅仅需要从xml文件中提取“key-value”形式 的配置参数或将其写入。我们需要易于使用的尽可能小的类库。我们可 能想按以下代码形式完成我们的配置文件解析工作:(见src/test/tes- tproperties.cpp) codeProperties p; p.setProperty("sid","harite"); p.setProperty("port","1521"); p.setProperty("userpassword","12y3_aer65"); p.setProperty("host","127.0.0.1"); p.setProperty("username","system"); p.storeToXML("connectsetting.xml"); p.clear(); if(!p.loadFromXML("connectsetting.xml")) { cout << "falue" << endl; } else { for(Properties::const_iterator it = p.begin() ; it!=p.end() ; ++it) { cout << (*it).first << "-->" << (*it).second << endl; } cout << "use getProperty" << endl; cout << p.getProperty("sid", "") << endl; cout << p.getProperty("username", "") << endl; cout << p.getProperty("port", "") << endl; cout << p.getProperty("notexist", "defaultvalue") << endl; p.clear(); }code是不是发现这个c++类的名字和几个方法与java中的Properties类很相 似?哈哈,你是对的,使用libproperties库生成的xml文件是完全可以与 java中Properties类互通的!libproperties库可以无障碍的读取java程 序产生的xml文件(使用Properties类)。 libproperties库会不会难于学习?不会!它对外只提供一个类和几个 公共方法。(仅有类Properties) libproperties库线程安全吗?不安全。底层基于tinyxml2.4.3库,这 个库线程不安全。 我已经有了tinyxml库,如果安装了libproperties库,会不会冲突? 如果你已经安装了tinyxml库,包括头文件和库文件,则可以将include 目录下的libproperties.h和libproperties_tinyxml_ext.h引入你的工 程头文件搜索路径,将src/libproperties里的libproperties.cpp和l- ibproperties_tinyxml_ext.cpp源文件引入你的工程即可。libproper- tis源文件没有修改任何tinyxml源文件,只是衍生出几个类。 [Less]
Created 11 months ago.