fsobject.java

来自「纯java操作系统jnode,安装简单和操作简单的个人使用的Java操作系统」· Java 代码 · 共 28 行

JAVA
28
字号
/*
 * $Id: FSObject.java,v 1.1 2003/11/25 11:50:43 epr Exp $
 */
package org.jnode.fs;

/**
 * This interface is the base interface objects that are part of a FileSystem.
 *
 * @author epr
 */
public interface FSObject {
	
	/**
	 * Is this object still valid.
	 * 
	 * An object is not valid anymore if it has been removed from the filesystem.
	 * All invocations on methods (exception this method) of invalid objects 
	 * must throw an IOException.
	 */
	public boolean isValid();
	
	/**
	 * Gets the filesystem to which this object belongs.
	 */
	public FileSystem getFileSystem();

}

⌨️ 快捷键说明

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