filesystem.java

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

JAVA
36
字号
/*
 * $Id: FileSystem.java,v 1.2 2003/12/29 08:44:52 epr Exp $
 */
package org.jnode.fs;

import java.io.IOException;

import org.jnode.driver.Device;

/**
 * @author epr
 */
public interface FileSystem {

	/**
	 * Gets the device this FS driver operates on. 
	 */
	public Device getDevice();
	
	/**
	 * Gets the root entry of this filesystem. This is usually a directory,
	 * but this is not required.
	 */
	public FSEntry getRootEntry()
	throws IOException;
	
	/**
	 * Close this filesystem. After a close, all invocations of method of
	 * this filesystem or objects created by this filesystem will throw 
	 * an IOException.
	 * @throws IOException
	 */
	public void close()
	throws IOException;
}

⌨️ 快捷键说明

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