📄 xfile.java
字号:
/** * File and FTP Explorer * Copyright 2002 * BOESCH Vincent * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * of the License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */package javaexplorer.model;import objectxml.Xmlizable;import java.io.*;import java.nio.channels.*;import javaexplorer.Launcher;import javaexplorer.util.filter.XFileFilter;/** * Modele d'objet fichier 閠endu * *@author BOESCH Vincent *@created 21 janvier 2002 *@version 3.3 */public interface XFile extends Serializable, Xmlizable { /** * Gets the directory attribute of the * XFile object * *@return The directory value */ public boolean isDirectory(); /** * Gets the path attribute of the XFile * object * *@return The path value */ public String getPath(); /** * Gets the name attribute of the XFile * object * *@return The name value */ public String getName(); /** * Gets the xParent attribute of the XFile * object * *@return The xParent value */ public XFile getXParent(); /** *@return Description of the Return * Value */ public XFile[] listXFiles(); /** *@param eff Description of the Parameter *@return Description of the Return * Value */ public XFile[] listXFiles(XFileFilter eff); public long lastModified(); /** *@return Description of the Return * Value */ public boolean remove(); /** *@param dirName Description of the Parameter *@return Description of the Return * Value */ public XFile mkXDir(String dirName); /** *@param destinationDir Description of * the Parameter */ public void copyTo(XFile destinationDir); /** *@return Description of the Return * Value */ public String toString(); /** * Gets the localFile attribute of the * XFile object * *@return The localFile value */ public File getLocalFile(); /** * Gets the valid attribute of the XFile * object * *@return The valid value */ public boolean isValid(); /** *@return Description of the Return * Value */ public boolean exists(); /** * Gets the local attribute of the XFile * object * *@return The local value */ public boolean isLocal(); /** *@param newName Description of the Parameter *@return Description of the Return * Value */ public boolean renameTo(String newName); /** *@param localXFile Description of the * Parameter *@return Description of the * Return Value */ public boolean renameTo(XFile localXFile); /** * Mise
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -