config.java

来自「桌面管理 可以将桌面的快捷方式集中管理」· Java 代码 · 共 55 行

JAVA
55
字号
/* * To change this template, choose Tools | Templates * and open the template in the editor. */package com.deskManager.File;public class Config implements java.io.Serializable {    /**	 * 	 */	private static final long serialVersionUID = -4250293284689054436L;	private int doublechick;    private String history;    public Config() {    }    public int getDoublechick() {        return doublechick;    }    public void setDoublechick(int doublechick) {        this.doublechick = doublechick;    }    public String getHistory() {        return history;    }    public void setHistory(String history) {        if (history != null) {            this.history = convert(history);        }    }    protected String convert(String values) {        char t[] = new char[1];        String temp = "";        for (int i = 0; i < values.length(); i++) {            t[0] = values.charAt(i);            if (t[0] == '\\') {                t[0] = '/';            }            temp = temp + new String(t);        }        return temp;    }    @Override    public String toString() {        return (this.getDoublechick() + "|" + this.getHistory() + "|");    }}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?