it
文章平均质量分 65
xiaoyu__mmd
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
java读取文件生僻字处理
public static String readTxtFile(File file,String encoding) { String lineTxt = null; StringBuffer content = new StringBuffer(); if (file == null) { return “”; } if (file.isFile() && file.exist...原创 2018-11-01 15:28:13 · 3355 阅读 · 0 评论 -
简单增加分页功能
一、分页实体类Page.java: package com.ssm.pojo; import java.io.Serializable; /** Created by yjs on 2018/11/6 */ public class Page implements Serializable { private static final long serialVersionUID = 1L; p...转载 2018-11-06 16:21:35 · 257 阅读 · 0 评论 -
ssm框架整合
一、pom.xml配置: <?xml version="1.0" encoding="UTF-8"?> 4.0.0 war ssm_demo com.ssm.model ssm_demo 1.0-SNAPSHOT <project.build.sourceEncoding>UTF-8</proje原创 2018-11-02 18:05:54 · 276 阅读 · 1 评论 -
java枚举(简单用于字典)
一、枚举类: public enum Color{ RED(“红色”,1),GREEN(“绿色”,2),BLANK(“白色”,3),YELLOW(“黄色”,4); //成员变量 private String name; private int index; //构造方法 private Color(String name,int index){ this.name = name; ...原创 2018-12-18 18:25:00 · 2363 阅读 · 0 评论
分享