pathmapping.java

来自「将用户指定的数据保存成一个iso文件」· Java 代码 · 共 45 行

JAVA
45
字号
/* * PathMapping.java * * Created on December 12, 2002, 11:26 AM */package jcdwriter.model;/** * * @author  rmallappa */public class PathMapping {    String source; //real path on file system.    String destination; //where it is going to be on virtual file system.    /** Creates a new instance of PathMapping */    public PathMapping() {        this("/source/not/specified", "/destination/not/specified");    }        public PathMapping(String aSourcePath, String aDestinationPath) {        source = aSourcePath;        destination = aDestinationPath;    }    public String source(){        return source;    }        public String destination(){        return destination;    }        public String toString(){        StringBuffer sb = new StringBuffer();//        sb.append("\"");        sb.append(destination);//        sb.append("\"");        sb.append("=");//        sb.append("\"");        sb.append(source);//        sb.append("\"");        return sb.toString();    }}

⌨️ 快捷键说明

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