当前位置:首页 » 编程博文
开发技术指南» 文章正文
    引言: /*** @(#)CnToSpell.java * 版权声明 E
 

 

 ·samba配置详解    »显示摘要«
    摘要:使用 linux 和 samba替代windows nt/2000 服务器摘要:这一篇文章提供了以前linuxfocus 文章关于samba用于在unix-windows异构网络共享资源的方案。 特别地,它集中在使用samba运行windows提供的服务。这不仅是因为linux强大灵活,还更出于经济考虑的结果:* 极大的节省了购买windows服务器的许可证费用。* 要达到相似的性能表现,linu......
 ·qmail系统(一)介绍和准备工作    »显示摘要«
    摘要:1.1目的。 本文的目的,是用自由软件在一个linux平台上安装一套功能完整的邮件系统,和如何来管理他。这里我以qmail作为smtp服务器,vpopmail做pop3服务器和实现虚拟域、用mysql数据库来进行用户验证,用qmailadmin来实现图形化的用户管理。用ezmlm来提供对邮件列表的支持。使用igenus来提供一个友善的webmail界面。 1.2 qmail管理与维护章节 (一)q......


用Java转化汉字为拼音全拼

/**

 * @(#)cntospell.java 【程序编程相关:SQLDMO应用——3.2 获取服务器文

【推荐阅读:SQLDMO应用——3.1获取局域网可用

 * 版权声明 easydozer 版权所有 违者必究 【扩展信息:DNS 查询的工作原理

 *

 * 修订记录:

 * 1)更改者:easydozer

 *   时 间:2004-10-20 

 *   描 述:创建

 */

package com.easydozer.commons.util;

import java.util.iterator;

import java.util.linkedhashmap;

import java.util.set;

/**

 * <pre>汉字转化为全拼</pre>

 * <br><dl><dt><b>jdk版本:</b></dt><br><dd>1.4</dd></dl>

 * @author   谢计生

 * @version  1.0

 * @see     

 * @since   1.0

 */

public class cntospell

{

  private static linkedhashmap spellmap = null;

  static

  {

    if(spellmap == null){

      spellmap = new linkedhashmap(400);

    }

    initialize();

    system.out.println("chinese transfer spell done.");

  }

  private cntospell()

  {

  }

  private static void spellput(string spell,int ascii)

  {

    spellmap.put(spell,new integer(ascii));

  }

  private static void initialize()

  {

    spellput("a", -20319);

    spellput("ai", -20317);

    spellput("an", -20304);

    spellput("ang", -20295);

    spellput("ao", -20292);

    spellput("ba", -20283);

    spellput("bai", -20265);

    spellput("ban", -20257);

    spellput("bang", -20242);

    spellput("bao", -20230);

    spellput("bei", -20051);

    spellput("ben", -20036);

    spellput("beng", -20032);

    spellput("bi", -20026);

    spellput("bian", -20002);

    spellput("biao", -19990);

    spellput("bie", -19986);

    spellput("bin", -19982);

    spellput("bing", -19976);

    spellput("bo", -19805);

    spellput("bu", -19784);

    spellput("ca", -19775);

    spellput("cai", -19774);

    spellput("can", -19763);

    spellput("cang", -19756);

    spellput("cao", -19751);

    spellput("ce", -19746);

    spellput("ceng", -19741);

    spellput("cha", -19739);

    spellput("chai", -19728);

    spellput("chan", -19725);

    spellput("chang", -19715);

    spellput("chao", -19540);

    spellput("che", -19531);

    spellput("chen", -19525);

    spellput("cheng", -19515);

    spellput("chi", -19500);

    spellput("chong", -19484);

    spellput("chou", -19479);

    spellput("chu", -19467);


...   下一页
 ·qmail邮件系统(二)安装    »显示摘要«
    摘要:(二)qmail+vpopmail+mysql+qmailadmin+ezmlm+igenus的安装 作者:peng 论坛id:peng www.chinaunix.net qq: 螃蟹 16360544 2.1实现的功能 通过以下安装,构建一个完整的mail邮件服务器。它用qmail为mta,用vpopmail实现pop3服务和虚拟的邮件域。用mysql来存取用户信息和认证。用qmailadmi......
» 本期热门文章:

©2000-2007 All Rights Reserved. 最佳浏览:1024X768 MSIE